#112771#112771
#112771 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.130 H 266.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #112771 |
|---|---|
| RGB | rgb(17, 39, 113) |
| HSL | hsl(226, 74%, 25%) |
| HSV | hsv(226, 85%, 44%) |
| CMYK | cmyk(85%, 65.5%, 0%, 55.7%) |
| CIE-LAB | lab(19.06, 21.85, -44.96) |
| CIE-LCH | lch(19.06, 49.99, 295.92°) |
| OKLab | oklab(31.06% -0.0092 -0.1301) |
| OKLCH | oklch(31.06% 0.13 266) |
| XYZ | xyz(3.9363, 2.7620, 15.9452) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.85
Marine
#042E60
ΔE00 5.47
Royal
#0C1793
ΔE00 7.65
Marine Blue
#01386A
ΔE00 7.80
Navy Blue
#1B2A4A
ΔE00 8.13
Navy Blue (survey)
#001146
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#112771 #715B11
analogous
#115771 #112771 #2B1171
triadic
#112771 #711127 #277111
tetradic
#112771 #711157 #715B11 #11712B
square
#112771 #711157 #715B11 #11712B
split-complementary
#112771 #712B11 #577111
monochromatic
#04091B #09153C #112771 #1939A6 #214CDB
Accessibility & contrast
On white
13.53
#112771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#112771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #112771
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##112771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##112771 | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #112771; /* rgb */ color: rgb(17, 39, 113); /* oklch */ color: oklch(31.1% 0.130 266.0);
Tailwind
colors: {
custom: {
50: '#62609b',
500: '#112771',
950: '#000000',
},
}SCSS
$custom: #112771; $custom-light: #62609b; $custom-dark: #000000;
JSON
{
"hex": "#112771",
"rgb": {
"r": 17,
"g": 39,
"b": 113
},
"hsl": {
"h": 226.25,
"s": 73.846,
"l": 25.49
},
"oklch": {
"l": 0.3106,
"c": 0.13046,
"h": 266
},
"luminance": 0.02762
}Semantic roles & 50–950 ramp
primary
#112771
secondary
#A88E36
accent
#C637F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E