#1C4797#1C4797
#1C4797 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.140 H 261.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1C4797 |
|---|---|
| RGB | rgb(28, 71, 151) |
| HSL | hsl(219, 69%, 35%) |
| HSV | hsv(219, 81%, 59%) |
| CMYK | cmyk(81.5%, 53%, 0%, 40.8%) |
| CIE-LAB | lab(31.78, 16.04, -48.03) |
| CIE-LCH | lch(31.78, 50.64, 288.46°) |
| OKLab | oklab(41.73% -0.0209 -0.1384) |
| OKLCH | oklch(41.73% 0.14 261.4) |
| XYZ | xyz(8.3160, 6.9867, 30.1824) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.27
Cobalt
#0047AB
ΔE00 2.65
Darkish Blue
#014182
ΔE00 3.87
Dusk Blue
#26538D
ΔE00 4.55
Twilight Blue
#0A437A
ΔE00 4.71
Sapphire
#0F52BA
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C4797 #976C1C
analogous
#1C8597 #1C4797 #2E1C97
triadic
#1C4797 #971C47 #47971C
tetradic
#1C4797 #971C85 #976C1C #1C972E
square
#1C4797 #971C85 #976C1C #1C972E
split-complementary
#1C4797 #972E1C #85971C
monochromatic
#091630 #122F63 #1C4797 #265FCB #4F81DE
Accessibility & contrast
On white
8.76
#1C4797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#1C4797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C4797
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C4797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C4797 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1c4797; /* rgb */ color: rgb(28, 71, 151); /* oklch */ color: oklch(41.7% 0.140 261.4);
Tailwind
colors: {
custom: {
50: '#6d79b6',
500: '#1c4797',
950: '#000000',
},
}SCSS
$custom: #1c4797; $custom-light: #6d79b6; $custom-dark: #000000;
JSON
{
"hex": "#1c4797",
"rgb": {
"r": 28,
"g": 71,
"b": 151
},
"hsl": {
"h": 219.024,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.41729,
"c": 0.13996,
"h": 261.4
},
"luminance": 0.06988
}Semantic roles & 50–950 ramp
primary
#1C4797
secondary
#C1994E
accent
#AE3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80