#0F2A5C#0F2A5C
#0F2A5C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.096 H 261.4°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2A5C |
|---|---|
| RGB | rgb(15, 42, 92) |
| HSL | hsl(219, 72%, 21%) |
| HSV | hsv(219, 84%, 36%) |
| CMYK | cmyk(83.7%, 54.3%, 0%, 63.9%) |
| CIE-LAB | lab(18.05, 10.46, -32.87) |
| CIE-LCH | lch(18.05, 34.50, 287.65°) |
| OKLab | oklab(29.71% -0.0144 -0.0946) |
| OKLCH | oklch(29.71% 0.096 261.4) |
| XYZ | xyz(2.9560, 2.5299, 10.4557) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.21
Navy Blue
#1B2A4A
ΔE00 4.39
Marine Blue
#01386A
ΔE00 5.71
Navy (survey)
#01153E
ΔE00 7.14
Navy Blue (survey)
#001146
ΔE00 8.03
Midnight Blue
#191970
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2A5C #5C410F
analogous
#0F505C #0F2A5C #1A0F5C
triadic
#0F2A5C #5C0F2A #2A5C0F
tetradic
#0F2A5C #5C0F50 #5C410F #0F5C1A
square
#0F2A5C #5C0F50 #5C410F #0F5C1A
split-complementary
#0F2A5C #5C1A0F #505C0F
monochromatic
#040C1A #061227 #0F2A5C #184291 #205AC5
Accessibility & contrast
On white
13.94
#0F2A5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#0F2A5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2A5C
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2A5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2A5C | 1.00 | 13.94 | 1.51 | 13.94 |
| #FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A305E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #0f2a5c; /* rgb */ color: rgb(15, 42, 92); /* oklch */ color: oklch(29.7% 0.096 261.4);
Tailwind
colors: {
custom: {
50: '#5b638b',
500: '#0f2a5c',
950: '#000000',
},
}SCSS
$custom: #0f2a5c; $custom-light: #5b638b; $custom-dark: #000000;
JSON
{
"hex": "#0f2a5c",
"rgb": {
"r": 15,
"g": 42,
"b": 92
},
"hsl": {
"h": 218.961,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.29706,
"c": 0.09568,
"h": 261.4
},
"luminance": 0.0253
}Semantic roles & 50–950 ramp
primary
#0F2A5C
secondary
#957231
accent
#AF39EF
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D