#112C7E#112C7E
#112C7E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.142 H 265.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #112C7E |
|---|---|
| RGB | rgb(17, 44, 126) |
| HSL | hsl(225, 76%, 28%) |
| HSV | hsv(225, 87%, 49%) |
| CMYK | cmyk(86.5%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(21.68, 23.65, -48.99) |
| CIE-LCH | lch(21.68, 54.40, 295.77°) |
| OKLab | oklab(33.38% -0.0121 -0.1419) |
| OKLCH | oklch(33.38% 0.142 265.1) |
| XYZ | xyz(4.8964, 3.4263, 20.1379) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.00
Midnight Blue
#191970
ΔE00 6.06
Sapphire (survey)
#2138AB
ΔE00 7.17
Royal
#0C1793
ΔE00 7.19
Marine Blue
#01386A
ΔE00 7.22
Darkish Blue
#014182
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#112C7E #7E6311
analogous
#11627E #112C7E #2D117E
triadic
#112C7E #7E112C #2C7E11
tetradic
#112C7E #7E1162 #7E6311 #117E2D
square
#112C7E #7E1162 #7E6311 #117E2D
split-complementary
#112C7E #7E2D11 #627E11
monochromatic
#04091B #0A1948 #112C7E #183FB4 #2756E2
Accessibility & contrast
On white
12.46
#112C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#112C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #112C7E
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##112C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##112C7E | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #112c7e; /* rgb */ color: rgb(17, 44, 126); /* oklch */ color: oklch(33.4% 0.142 265.1);
Tailwind
colors: {
custom: {
50: '#6664a4',
500: '#112c7e',
950: '#000000',
},
}SCSS
$custom: #112c7e; $custom-light: #6664a4; $custom-dark: #000000;
JSON
{
"hex": "#112c7e",
"rgb": {
"r": 17,
"g": 44,
"b": 126
},
"hsl": {
"h": 225.138,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.33375,
"c": 0.14238,
"h": 265.1
},
"luminance": 0.03427
}Semantic roles & 50–950 ramp
primary
#112C7E
secondary
#B49537
accent
#C435F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F