#0F2F66#0F2F66
#0F2F66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.104 H 260.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2F66 |
|---|---|
| RGB | rgb(15, 47, 102) |
| HSL | hsl(218, 74%, 23%) |
| HSV | hsv(218, 85%, 40%) |
| CMYK | cmyk(85.3%, 53.9%, 0%, 60%) |
| CIE-LAB | lab(20.41, 11.13, -35.63) |
| CIE-LCH | lch(20.41, 37.33, 287.34°) |
| OKLab | oklab(31.76% -0.0171 -0.1026) |
| OKLCH | oklch(31.76% 0.104 260.5) |
| XYZ | xyz(3.6109, 3.0935, 12.9746) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.55
Marine Blue
#01386A
ΔE00 4.14
Navy Blue
#1B2A4A
ΔE00 5.72
Darkish Blue
#014182
ΔE00 6.84
Twilight Blue
#0A437A
ΔE00 7.25
Prussian Blue
#004577
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2F66 #66460F
analogous
#0F5A66 #0F2F66 #1A0F66
triadic
#0F2F66 #660F2F #2F660F
tetradic
#0F2F66 #660F5A #66460F #0F661A
square
#0F2F66 #660F5A #66460F #0F661A
split-complementary
#0F2F66 #661A0F #5A660F
monochromatic
#040C1B #071631 #0F2F66 #17489B #1F60D1
Accessibility & contrast
On white
12.97
#0F2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#0F2F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2F66
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2F66 | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B3568
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #0f2f66; /* rgb */ color: rgb(15, 47, 102); /* oklch */ color: oklch(31.8% 0.104 260.5);
Tailwind
colors: {
custom: {
50: '#5e6692',
500: '#0f2f66',
950: '#000000',
},
}SCSS
$custom: #0f2f66; $custom-light: #5e6692; $custom-dark: #000000;
JSON
{
"hex": "#0f2f66",
"rgb": {
"r": 15,
"g": 47,
"b": 102
},
"hsl": {
"h": 217.931,
"s": 74.359,
"l": 22.941
},
"oklch": {
"l": 0.31759,
"c": 0.10404,
"h": 260.5
},
"luminance": 0.03094
}Semantic roles & 50–950 ramp
primary
#0F2F66
secondary
#9F7732
accent
#AD37F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E