#0F3C7E#0F3C7E
#0F3C7E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.8% C 0.122 H 258.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #0F3C7E |
|---|---|
| RGB | rgb(15, 60, 126) |
| HSL | hsl(216, 79%, 28%) |
| HSV | hsv(216, 88%, 49%) |
| CMYK | cmyk(88.1%, 52.4%, 0%, 50.6%) |
| CIE-LAB | lab(26.27, 12.10, -41.51) |
| CIE-LCH | lch(26.27, 43.24, 286.24°) |
| OKLab | oklab(36.83% -0.0237 -0.1196) |
| OKLCH | oklch(36.83% 0.122 258.8) |
| XYZ | xyz(5.5774, 4.8389, 20.3747) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.27
Twilight Blue
#0A437A
ΔE00 3.27
Marine Blue
#01386A
ΔE00 3.33
Cobalt (survey)
#1E488F
ΔE00 4.13
Prussian Blue
#004577
ΔE00 4.88
Marine
#042E60
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F3C7E #7E510F
analogous
#0F737E #0F3C7E #1A0F7E
triadic
#0F3C7E #7E0F3C #3C7E0F
tetradic
#0F3C7E #7E0F73 #7E510F #0F7E1A
square
#0F3C7E #7E0F73 #7E510F #0F7E1A
split-complementary
#0F3C7E #7E1A0F #737E0F
monochromatic
#030D1B #082247 #0F3C7E #1656B5 #2371E5
Accessibility & contrast
On white
10.67
#0F3C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#0F3C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F3C7E
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F3C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F3C7E | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #0f3c7e; /* rgb */ color: rgb(15, 60, 126); /* oklch */ color: oklch(36.8% 0.122 258.8);
Tailwind
colors: {
custom: {
50: '#6471a4',
500: '#0f3c7e',
950: '#000000',
},
}SCSS
$custom: #0f3c7e; $custom-light: #6471a4; $custom-dark: #000000;
JSON
{
"hex": "#0f3c7e",
"rgb": {
"r": 15,
"g": 60,
"b": 126
},
"hsl": {
"h": 215.676,
"s": 78.723,
"l": 27.647
},
"oklch": {
"l": 0.36825,
"c": 0.12195,
"h": 258.8
},
"luminance": 0.0484
}Semantic roles & 50–950 ramp
primary
#0F3C7E
secondary
#B58134
accent
#A633F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F