#112F7F#112F7F
#112F7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.140 H 264.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #112F7F |
|---|---|
| RGB | rgb(17, 47, 127) |
| HSL | hsl(224, 76%, 28%) |
| HSV | hsv(224, 87%, 50%) |
| CMYK | cmyk(86.6%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(22.60, 21.94, -48.11) |
| CIE-LCH | lch(22.60, 52.88, 294.51°) |
| OKLab | oklab(34.09% -0.0138 -0.1393) |
| OKLCH | oklch(34.09% 0.14 264.3) |
| XYZ | xyz(5.0771, 3.6839, 20.5180) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.59
Marine Blue
#01386A
ΔE00 6.42
Sapphire (survey)
#2138AB
ΔE00 6.89
Midnight Blue
#191970
ΔE00 7.05
Darkish Blue
#014182
ΔE00 7.08
Royal
#0C1793
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#112F7F #7F6111
analogous
#11667F #112F7F #2A117F
triadic
#112F7F #7F112F #2F7F11
tetradic
#112F7F #7F1166 #7F6111 #117F2A
square
#112F7F #7F1166 #7F6111 #117F2A
split-complementary
#112F7F #7F2A11 #667F11
monochromatic
#040A1B #0A1B49 #112F7F #1843B5 #285BE2
Accessibility & contrast
On white
12.09
#112F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#112F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #112F7F
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##112F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##112F7F | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #112f7f; /* rgb */ color: rgb(17, 47, 127); /* oklch */ color: oklch(34.1% 0.140 264.3);
Tailwind
colors: {
custom: {
50: '#6667a5',
500: '#112f7f',
950: '#000000',
},
}SCSS
$custom: #112f7f; $custom-light: #6667a5; $custom-dark: #000000;
JSON
{
"hex": "#112f7f",
"rgb": {
"r": 17,
"g": 47,
"b": 127
},
"hsl": {
"h": 223.636,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.34089,
"c": 0.13993,
"h": 264.3
},
"luminance": 0.03685
}Semantic roles & 50–950 ramp
primary
#112F7F
secondary
#B59337
accent
#BF35F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F