#1C4789#1C4789
#1C4789 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.6% C 0.120 H 259.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1C4789 |
|---|---|
| RGB | rgb(28, 71, 137) |
| HSL | hsl(216, 66%, 32%) |
| HSV | hsv(216, 80%, 54%) |
| CMYK | cmyk(79.6%, 48.2%, 0%, 46.3%) |
| CIE-LAB | lab(30.78, 10.37, -41.07) |
| CIE-LCH | lch(30.78, 42.36, 284.17°) |
| OKLab | oklab(40.65% -0.023 -0.1179) |
| OKLCH | oklch(40.65% 0.12 259) |
| XYZ | xyz(7.2458, 6.5587, 24.5461) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.92
Darkish Blue
#014182
ΔE00 2.44
Twilight Blue
#0A437A
ΔE00 2.91
Dusk Blue
#26538D
ΔE00 3.99
Prussian Blue
#004577
ΔE00 4.13
Light Navy
#155084
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C4789 #895E1C
analogous
#1C7E89 #1C4789 #271C89
triadic
#1C4789 #891C47 #47891C
tetradic
#1C4789 #891C7E #895E1C #1C8927
square
#1C4789 #891C7E #895E1C #1C8927
split-complementary
#1C4789 #89271C #7E891C
monochromatic
#071223 #122D56 #1C4789 #2661BC #4680D9
Accessibility & contrast
On white
9.08
#1C4789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1C4789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C4789
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C4789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C4789 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234E8B
Deuteranopia (green-blind)
#054488
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1c4789; /* rgb */ color: rgb(28, 71, 137); /* oklch */ color: oklch(40.6% 0.120 259.0);
Tailwind
colors: {
custom: {
50: '#6a79ac',
500: '#1c4789',
950: '#000000',
},
}SCSS
$custom: #1c4789; $custom-light: #6a79ac; $custom-dark: #000000;
JSON
{
"hex": "#1c4789",
"rgb": {
"r": 28,
"g": 71,
"b": 137
},
"hsl": {
"h": 216.33,
"s": 66.061,
"l": 32.353
},
"oklch": {
"l": 0.40648,
"c": 0.12012,
"h": 259
},
"luminance": 0.06559
}Semantic roles & 50–950 ramp
primary
#1C4789
secondary
#BB8D46
accent
#A63FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F