#0F2A6E#0F2A6E
#0F2A6E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.3% C 0.123 H 264.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2A6E |
|---|---|
| RGB | rgb(15, 42, 110) |
| HSL | hsl(223, 76%, 25%) |
| HSV | hsv(223, 86%, 43%) |
| CMYK | cmyk(86.4%, 61.8%, 0%, 56.9%) |
| CIE-LAB | lab(19.57, 18.23, -42.20) |
| CIE-LCH | lch(19.57, 45.97, 293.36°) |
| OKLab | oklab(31.33% -0.0127 -0.122) |
| OKLCH | oklch(31.33% 0.123 264.1) |
| XYZ | xyz(3.8384, 2.8828, 15.1030) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.05
Midnight Blue
#191970
ΔE00 6.31
Marine Blue
#01386A
ΔE00 6.44
Navy Blue
#1B2A4A
ΔE00 7.25
Darkish Blue
#014182
ΔE00 8.37
Navy Blue (survey)
#001146
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2A6E #6E530F
analogous
#0F5A6E #0F2A6E #230F6E
triadic
#0F2A6E #6E0F2A #2A6E0F
tetradic
#0F2A6E #6E0F5A #6E530F #0F6E23
square
#0F2A6E #6E0F5A #6E530F #0F6E23
split-complementary
#0F2A6E #6E230F #5A6E0F
monochromatic
#040A1B #081538 #0F2A6E #163FA4 #1E53DA
Accessibility & contrast
On white
13.32
#0F2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#0F2A6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2A6E
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2A6E | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #0f2a6e; /* rgb */ color: rgb(15, 42, 110); /* oklch */ color: oklch(31.3% 0.123 264.1);
Tailwind
colors: {
custom: {
50: '#606398',
500: '#0f2a6e',
950: '#000000',
},
}SCSS
$custom: #0f2a6e; $custom-light: #606398; $custom-dark: #000000;
JSON
{
"hex": "#0f2a6e",
"rgb": {
"r": 15,
"g": 42,
"b": 110
},
"hsl": {
"h": 222.947,
"s": 76,
"l": 24.51
},
"oklch": {
"l": 0.31329,
"c": 0.12269,
"h": 264.1
},
"luminance": 0.02883
}Semantic roles & 50–950 ramp
primary
#0F2A6E
secondary
#A68533
accent
#BD35F3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E