#0F2A8A
Blue
HEX
RGB
HSL
About #0F2A8A Blue
#0F2A8A is a blue color. In the RGB color model, it is composed of 15 red, 42 green, and 138 blue. In the HSL color space, it has a hue of 227°, saturation of 80%, and lightness of 30%.
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 #0F2A8A in your CSS, SCSS, or Tailwind projects.
Color Properties
227°
Hue
80%
Saturation
30%
Lightness
Blue
Color Harmonies
Colors that work well with #0F2A8A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #0F2A8A against white and black backgrounds.
Aa#0F2A8A on White
Contrast Ratio12.22:1
AA ✓AA Large ✓AAA ✓
Aa#0F2A8A on Black
Contrast Ratio1.72:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #0F2A8A across different color formats.
| Format | Value |
|---|---|
| HEX | #0F2A8A |
| RGB | rgb(15, 42, 138) |
| HSL | hsl(227, 80%, 30%) |
| RGB Decimal | 15, 42, 138 |
| RGB Percent | 5.9%, 16.5%, 54.1% |
| CMYK (approx.) | 89%, 70%, 0%, 46% |
Related Palettes
12 palettes using #0F2A8A or similar colors