#0F438E#0F438E
#0F438E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.136 H 258.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #0F438E |
|---|---|
| RGB | rgb(15, 67, 142) |
| HSL | hsl(215, 81%, 31%) |
| HSV | hsv(215, 89%, 56%) |
| CMYK | cmyk(89.4%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(29.58, 13.95, -46.10) |
| CIE-LCH | lch(29.58, 48.16, 286.83°) |
| OKLab | oklab(39.74% -0.0264 -0.1329) |
| OKLCH | oklch(39.74% 0.136 258.8) |
| XYZ | xyz(7.0848, 6.0680, 26.3838) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.67
Darkish Blue
#014182
ΔE00 2.11
Twilight Blue
#0A437A
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.92
Prussian Blue
#004577
ΔE00 4.55
Dusk Blue
#26538D
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F438E #8E5A0F
analogous
#0F828E #0F438E #1A0F8E
triadic
#0F438E #8E0F43 #438E0F
tetradic
#0F438E #8E0F82 #8E5A0F #0F8E1A
square
#0F438E #8E0F82 #8E5A0F #0F8E1A
split-complementary
#0F438E #8E1A0F #828E0F
monochromatic
#030F1F #092957 #0F438E #155DC5 #2E7BE9
Accessibility & contrast
On white
9.49
#0F438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#0F438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F438E
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F438E | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0f438e; /* rgb */ color: rgb(15, 67, 142); /* oklch */ color: oklch(39.7% 0.136 258.8);
Tailwind
colors: {
custom: {
50: '#6876b0',
500: '#0f438e',
950: '#000000',
},
}SCSS
$custom: #0f438e; $custom-light: #6876b0; $custom-dark: #000000;
JSON
{
"hex": "#0f438e",
"rgb": {
"r": 15,
"g": 67,
"b": 142
},
"hsl": {
"h": 215.433,
"s": 80.892,
"l": 30.784
},
"oklch": {
"l": 0.39743,
"c": 0.13554,
"h": 258.8
},
"luminance": 0.06069
}Semantic roles & 50–950 ramp
primary
#0F438E
secondary
#C38936
accent
#A631F7
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F