#1C4798#1C4798
#1C4798 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.141 H 261.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1C4798 |
|---|---|
| RGB | rgb(28, 71, 152) |
| HSL | hsl(219, 69%, 35%) |
| HSV | hsv(219, 82%, 60%) |
| CMYK | cmyk(81.6%, 53.3%, 0%, 40.4%) |
| CIE-LAB | lab(31.85, 16.44, -48.52) |
| CIE-LCH | lch(31.85, 51.23, 288.72°) |
| OKLab | oklab(41.81% -0.0208 -0.1398) |
| OKLCH | oklch(41.81% 0.141 261.5) |
| XYZ | xyz(8.3976, 7.0193, 30.6120) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.42
Cobalt
#0047AB
ΔE00 2.52
Darkish Blue
#014182
ΔE00 4.00
Dusk Blue
#26538D
ΔE00 4.62
Twilight Blue
#0A437A
ΔE00 4.84
Sapphire
#0F52BA
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C4798 #986D1C
analogous
#1C8598 #1C4798 #2F1C98
triadic
#1C4798 #981C47 #47981C
tetradic
#1C4798 #981C85 #986D1C #1C982F
square
#1C4798 #981C85 #986D1C #1C982F
split-complementary
#1C4798 #982F1C #85981C
monochromatic
#091731 #122F64 #1C4798 #265FCC #5081DF
Accessibility & contrast
On white
8.74
#1C4798 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#1C4798 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C4798
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C4798 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C4798 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C519B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1c4798; /* rgb */ color: rgb(28, 71, 152); /* oklch */ color: oklch(41.8% 0.141 261.5);
Tailwind
colors: {
custom: {
50: '#6e79b7',
500: '#1c4798',
950: '#000000',
},
}SCSS
$custom: #1c4798; $custom-light: #6e79b7; $custom-dark: #000000;
JSON
{
"hex": "#1c4798",
"rgb": {
"r": 28,
"g": 71,
"b": 152
},
"hsl": {
"h": 219.194,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.41809,
"c": 0.14137,
"h": 261.5
},
"luminance": 0.0702
}Semantic roles & 50–950 ramp
primary
#1C4798
secondary
#C19A4E
accent
#AF3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80