#112A4F#112A4F
#112A4F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.075 H 258.2°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #112A4F |
|---|---|
| RGB | rgb(17, 42, 79) |
| HSL | hsl(216, 65%, 19%) |
| HSV | hsv(216, 78%, 31%) |
| CMYK | cmyk(78.5%, 46.8%, 0%, 69%) |
| CIE-LAB | lab(17.18, 5.10, -25.57) |
| CIE-LCH | lch(17.18, 26.07, 281.28°) |
| OKLab | oklab(28.75% -0.0152 -0.0731) |
| OKLCH | oklch(28.75% 0.075 258.2) |
| XYZ | xyz(2.4699, 2.3393, 7.7170) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.28
Marine
#042E60
ΔE00 3.22
Marine Blue
#01386A
ΔE00 6.06
Navy (survey)
#01153E
ΔE00 6.93
Navy Blue (survey)
#001146
ΔE00 8.63
Dark
#1B2431
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#112A4F #4F3611
analogous
#11494F #112A4F #17114F
triadic
#112A4F #4F112A #2A4F11
tetradic
#112A4F #4F1149 #4F3611 #114F17
square
#112A4F #4F1149 #4F3611 #114F17
split-complementary
#112A4F #4F1711 #494F11
monochromatic
#050D19 #060F1D #112A4F #1C4581 #2760B4
Accessibility & contrast
On white
14.31
#112A4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#112A4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #112A4F
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##112A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##112A4F | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#0D284E
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #112a4f; /* rgb */ color: rgb(17, 42, 79); /* oklch */ color: oklch(28.7% 0.075 258.2);
Tailwind
colors: {
custom: {
50: '#586380',
500: '#112a4f',
950: '#000000',
},
}SCSS
$custom: #112a4f; $custom-light: #586380; $custom-dark: #000000;
JSON
{
"hex": "#112a4f",
"rgb": {
"r": 17,
"g": 42,
"b": 79
},
"hsl": {
"h": 215.806,
"s": 64.583,
"l": 18.824
},
"oklch": {
"l": 0.28747,
"c": 0.07465,
"h": 258.2
},
"luminance": 0.0234
}Semantic roles & 50–950 ramp
primary
#112A4F
secondary
#886633
accent
#A440E8
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C