#0A1F5C
Dark Blue
HEX
RGB
HSL
About #0A1F5C Dark Blue
#0A1F5C is a dark blue color. In the RGB color model, it is composed of 10 red, 31 green, and 92 blue. In the HSL color space, it has a hue of 225°, saturation of 80%, and lightness of 20%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #0A1F5C in your CSS, SCSS, or Tailwind projects.
Color Properties
225°
Hue
80%
Saturation
20%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #0A1F5C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #0A1F5C against white and black backgrounds.
Aa#0A1F5C on White
Contrast Ratio15.4:1
AA ✓AA Large ✓AAA ✓
Aa#0A1F5C on Black
Contrast Ratio1.36:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #0A1F5C across different color formats.
| Format | Value |
|---|---|
| HEX | #0A1F5C |
| RGB | rgb(10, 31, 92) |
| HSL | hsl(225, 80%, 20%) |
| RGB Decimal | 10, 31, 92 |
| RGB Percent | 3.9%, 12.2%, 36.1% |
| CMYK (approx.) | 89%, 66%, 0%, 64% |
Related Palettes
12 palettes using #0A1F5C or similar colors