#0F3F7D#0F3F7D
#0F3F7D is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.5% C 0.117 H 257.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #0F3F7D |
|---|---|
| RGB | rgb(15, 63, 125) |
| HSL | hsl(214, 79%, 27%) |
| HSV | hsv(214, 88%, 49%) |
| CMYK | cmyk(88%, 49.6%, 0%, 51%) |
| CIE-LAB | lab(27.12, 9.56, -39.52) |
| CIE-LCH | lch(27.12, 40.66, 283.60°) |
| OKLab | oklab(37.45% -0.0262 -0.1137) |
| OKLCH | oklch(37.45% 0.117 257) |
| XYZ | xyz(5.6748, 5.1365, 20.0904) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Darkish Blue
#014182
ΔE00 1.24
Twilight Blue
#0A437A
ΔE00 2.08
Marine Blue
#01386A
ΔE00 3.24
Cobalt (survey)
#1E488F
ΔE00 3.55
Prussian Blue
#004577
ΔE00 3.76
Marine
#042E60
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F3F7D #7D4D0F
analogous
#0F767D #0F3F7D #160F7D
triadic
#0F3F7D #7D0F3F #3F7D0F
tetradic
#0F3F7D #7D0F76 #7D4D0F #0F7D16
square
#0F3F7D #7D0F76 #7D4D0F #0F7D16
split-complementary
#0F3F7D #7D160F #767D0F
monochromatic
#030E1B #082346 #0F3F7D #165BB4 #2277E4
Accessibility & contrast
On white
10.36
#0F3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#0F3F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F3F7D
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F3F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F3F7D | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #0f3f7d; /* rgb */ color: rgb(15, 63, 125); /* oklch */ color: oklch(37.5% 0.117 257.0);
Tailwind
colors: {
custom: {
50: '#6373a3',
500: '#0f3f7d',
950: '#000000',
},
}SCSS
$custom: #0f3f7d; $custom-light: #6373a3; $custom-dark: #000000;
JSON
{
"hex": "#0f3f7d",
"rgb": {
"r": 15,
"g": 63,
"b": 125
},
"hsl": {
"h": 213.818,
"s": 78.571,
"l": 27.451
},
"oklch": {
"l": 0.37454,
"c": 0.11664,
"h": 257
},
"luminance": 0.05137
}Semantic roles & 50–950 ramp
primary
#0F3F7D
secondary
#B47C34
accent
#A033F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06080F
muted
#7A7B7F