#0F2240#0F2240
#0F2240 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.062 H 259.2°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2240 |
|---|---|
| RGB | rgb(15, 34, 64) |
| HSL | hsl(217, 62%, 15%) |
| HSV | hsv(217, 77%, 25%) |
| CMYK | cmyk(76.6%, 46.9%, 0%, 74.9%) |
| CIE-LAB | lab(13.32, 4.21, -21.40) |
| CIE-LCH | lch(13.32, 21.81, 281.12°) |
| OKLab | oklab(25.4% -0.0116 -0.061) |
| OKLCH | oklch(25.4% 0.062 259.2) |
| XYZ | xyz(1.6941, 1.6156, 5.0721) |
| Luminance | 0.0162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.79
Navy (survey)
#01153E
ΔE00 5.27
Marine
#042E60
ΔE00 6.34
Dark
#1B2431
ΔE00 7.37
Navy Blue (survey)
#001146
ΔE00 7.55
Dark Navy Blue
#00022E
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2240 #402D0F
analogous
#0F3A40 #0F2240 #150F40
triadic
#0F2240 #400F22 #22400F
tetradic
#0F2240 #400F3A #402D0F #0F4015
square
#0F2240 #400F3A #402D0F #0F4015
split-complementary
#0F2240 #40150F #3A400F
monochromatic
#060D19 #060D19 #0F2240 #1B3C72 #2657A3
Accessibility & contrast
On white
15.87
#0F2240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#0F2240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2240
15.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2240 | 1.00 | 15.87 | 1.32 | 15.87 |
| #FFFFFF | 15.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#142541
Deuteranopia (green-blind)
#0C203F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #0f2240; /* rgb */ color: rgb(15, 34, 64); /* oklch */ color: oklch(25.4% 0.062 259.2);
Tailwind
colors: {
custom: {
50: '#545c75',
500: '#0f2240',
950: '#000000',
},
}SCSS
$custom: #0f2240; $custom-light: #545c75; $custom-dark: #000000;
JSON
{
"hex": "#0f2240",
"rgb": {
"r": 15,
"g": 34,
"b": 64
},
"hsl": {
"h": 216.735,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.25404,
"c": 0.06213,
"h": 259.2
},
"luminance": 0.01616
}Semantic roles & 50–950 ramp
primary
#0F2240
secondary
#7A5E30
accent
#A643E5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B