#1C398E#1C398E
#1C398E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.145 H 265.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1C398E |
|---|---|
| RGB | rgb(28, 57, 142) |
| HSL | hsl(225, 67%, 33%) |
| HSV | hsv(225, 80%, 56%) |
| CMYK | cmyk(80.3%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(27.09, 22.07, -50.13) |
| CIE-LCH | lch(27.09, 54.77, 293.76°) |
| OKLab | oklab(37.96% -0.0115 -0.1448) |
| OKLCH | oklch(37.96% 0.145 265.5) |
| XYZ | xyz(6.8228, 5.1253, 26.2156) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.33
Darkish Blue
#014182
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.82
Blueberry
#464196
ΔE00 6.17
Twilight Blue
#0A437A
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C398E #8E711C
analogous
#1C728E #1C398E #381C8E
triadic
#1C398E #8E1C39 #398E1C
tetradic
#1C398E #8E1C72 #8E711C #1C8E38
square
#1C398E #8E1C72 #8E711C #1C8E38
split-complementary
#1C398E #8E381C #728E1C
monochromatic
#081028 #12245B #1C398E #264EC1 #496EDB
Accessibility & contrast
On white
10.37
#1C398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1C398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C398E
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C398E | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1c398e; /* rgb */ color: rgb(28, 57, 142); /* oklch */ color: oklch(38.0% 0.145 265.5);
Tailwind
colors: {
custom: {
50: '#6c6eb0',
500: '#1c398e',
950: '#000000',
},
}SCSS
$custom: #1c398e; $custom-light: #6c6eb0; $custom-dark: #000000;
JSON
{
"hex": "#1c398e",
"rgb": {
"r": 28,
"g": 57,
"b": 142
},
"hsl": {
"h": 224.737,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.37963,
"c": 0.14528,
"h": 265.5
},
"luminance": 0.05126
}Semantic roles & 50–950 ramp
primary
#1C398E
secondary
#BDA049
accent
#BE3EEA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F