#0F397F#0F397F
#0F397F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.2% C 0.127 H 260.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #0F397F |
|---|---|
| RGB | rgb(15, 57, 127) |
| HSL | hsl(218, 79%, 28%) |
| HSV | hsv(218, 88%, 50%) |
| CMYK | cmyk(88.2%, 55.1%, 0%, 50.2%) |
| CIE-LAB | lab(25.44, 14.65, -43.49) |
| CIE-LCH | lch(25.44, 45.89, 288.62°) |
| OKLab | oklab(36.22% -0.0214 -0.1255) |
| OKLCH | oklch(36.22% 0.127 260.3) |
| XYZ | xyz(5.4895, 4.5594, 20.6653) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.40
Marine Blue
#01386A
ΔE00 3.81
Twilight Blue
#0A437A
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 4.92
Marine
#042E60
ΔE00 5.14
Prussian Blue
#004577
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F397F #7F550F
analogous
#0F717F #0F397F #1D0F7F
triadic
#0F397F #7F0F39 #397F0F
tetradic
#0F397F #7F0F71 #7F550F #0F7F1D
square
#0F397F #7F0F71 #7F550F #0F7F1D
split-complementary
#0F397F #7F1D0F #717F0F
monochromatic
#030C1B #092048 #0F397F #1552B6 #236CE5
Accessibility & contrast
On white
10.98
#0F397F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#0F397F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F397F
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F397F | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014281
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #0f397f; /* rgb */ color: rgb(15, 57, 127); /* oklch */ color: oklch(36.2% 0.127 260.3);
Tailwind
colors: {
custom: {
50: '#646ea5',
500: '#0f397f',
950: '#000000',
},
}SCSS
$custom: #0f397f; $custom-light: #646ea5; $custom-dark: #000000;
JSON
{
"hex": "#0f397f",
"rgb": {
"r": 15,
"g": 57,
"b": 127
},
"hsl": {
"h": 217.5,
"s": 78.873,
"l": 27.843
},
"oklch": {
"l": 0.36215,
"c": 0.1273,
"h": 260.3
},
"luminance": 0.0456
}Semantic roles & 50–950 ramp
primary
#0F397F
secondary
#B58534
accent
#AC32F5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06070F
muted
#7A7A7F