#0F2D5A#0F2D5A
#0F2D5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.088 H 258.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2D5A |
|---|---|
| RGB | rgb(15, 45, 90) |
| HSL | hsl(216, 71%, 21%) |
| HSV | hsv(216, 83%, 35%) |
| CMYK | cmyk(83.3%, 50%, 0%, 64.7%) |
| CIE-LAB | lab(18.87, 7.37, -30.23) |
| CIE-LCH | lch(18.87, 31.11, 283.70°) |
| OKLab | oklab(30.28% -0.0174 -0.0868) |
| OKLCH | oklch(30.28% 0.088 258.6) |
| XYZ | xyz(2.9802, 2.7162, 10.0381) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.40
Navy Blue
#1B2A4A
ΔE00 3.97
Marine Blue
#01386A
ΔE00 4.61
Navy (survey)
#01153E
ΔE00 7.96
Darkish Blue
#014182
ΔE00 7.98
Twilight Blue
#0A437A
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2D5A #5A3C0F
analogous
#0F525A #0F2D5A #160F5A
triadic
#0F2D5A #5A0F2D #2D5A0F
tetradic
#0F2D5A #5A0F52 #5A3C0F #0F5A16
square
#0F2D5A #5A0F52 #5A3C0F #0F5A16
split-complementary
#0F2D5A #5A160F #525A0F
monochromatic
#040D1A #061326 #0F2D5A #18478E #2061C3
Accessibility & contrast
On white
13.61
#0F2D5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#0F2D5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2D5A
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2D5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2D5A | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15325C
Deuteranopia (green-blind)
#032B59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #0f2d5a; /* rgb */ color: rgb(15, 45, 90); /* oklch */ color: oklch(30.3% 0.088 258.6);
Tailwind
colors: {
custom: {
50: '#5b6589',
500: '#0f2d5a',
950: '#000000',
},
}SCSS
$custom: #0f2d5a; $custom-light: #5b6589; $custom-dark: #000000;
JSON
{
"hex": "#0f2d5a",
"rgb": {
"r": 15,
"g": 45,
"b": 90
},
"hsl": {
"h": 216,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.30284,
"c": 0.08849,
"h": 258.6
},
"luminance": 0.02717
}Semantic roles & 50–950 ramp
primary
#0F2D5A
secondary
#946C31
accent
#A63AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C