#1C3797#1C3797
#1C3797 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.160 H 266.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1C3797 |
|---|---|
| RGB | rgb(28, 55, 151) |
| HSL | hsl(227, 69%, 35%) |
| HSV | hsv(227, 81%, 59%) |
| CMYK | cmyk(81.5%, 63.6%, 0%, 40.8%) |
| CIE-LAB | lab(27.33, 27.00, -55.27) |
| CIE-LCH | lch(27.33, 61.51, 296.04°) |
| OKLab | oklab(38.39% -0.0101 -0.1599) |
| OKLCH | oklch(38.39% 0.16 266.4) |
| XYZ | xyz(7.4290, 5.2127, 29.8868) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Blueberry
#464196
ΔE00 5.87
Cobalt
#0047AB
ΔE00 5.94
Cobalt (survey)
#1E488F
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 6.83
Darkish Blue
#014182
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C3797 #977C1C
analogous
#1C7597 #1C3797 #3E1C97
triadic
#1C3797 #971C37 #37971C
tetradic
#1C3797 #971C75 #977C1C #1C973E
square
#1C3797 #971C75 #977C1C #1C973E
split-complementary
#1C3797 #973E1C #75971C
monochromatic
#091130 #122463 #1C3797 #264ACB #4F6EDE
Accessibility & contrast
On white
10.28
#1C3797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1C3797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C3797
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C3797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C3797 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1c3797; /* rgb */ color: rgb(28, 55, 151); /* oklch */ color: oklch(38.4% 0.160 266.4);
Tailwind
colors: {
custom: {
50: '#6e6db6',
500: '#1c3797',
950: '#000000',
},
}SCSS
$custom: #1c3797; $custom-light: #6e6db6; $custom-dark: #000000;
JSON
{
"hex": "#1c3797",
"rgb": {
"r": 28,
"g": 55,
"b": 151
},
"hsl": {
"h": 226.829,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.38388,
"c": 0.16023,
"h": 266.4
},
"luminance": 0.05214
}Semantic roles & 50–950 ramp
primary
#1C3797
secondary
#C1A84E
accent
#C53CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80