#1C40A8#1C40A8
#1C40A8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.172 H 264.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1C40A8 |
|---|---|
| RGB | rgb(28, 64, 168) |
| HSL | hsl(225, 71%, 38%) |
| HSV | hsv(225, 83%, 66%) |
| CMYK | cmyk(83.3%, 61.9%, 0%, 34.1%) |
| CIE-LAB | lab(31.21, 27.56, -59.23) |
| CIE-LCH | lch(31.21, 65.33, 294.96°) |
| OKLab | oklab(41.73% -0.0152 -0.1714) |
| OKLCH | oklch(41.73% 0.172 264.9) |
| XYZ | xyz(9.3777, 6.7397, 37.8448) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.12
Blue Blue
#2242C7
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 5.22
Blueberry
#464196
ΔE00 6.05
Sapphire
#0F52BA
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C40A8 #A8841C
analogous
#1C86A8 #1C40A8 #3E1CA8
triadic
#1C40A8 #A81C40 #40A81C
tetradic
#1C40A8 #A81C86 #A8841C #1CA83E
square
#1C40A8 #A81C86 #A8841C #1CA83E
split-complementary
#1C40A8 #A83E1C #86A81C
monochromatic
#0B183F #132C74 #1C40A8 #2655DB #5B7EE4
Accessibility & contrast
On white
8.94
#1C40A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#1C40A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C40A8
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C40A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C40A8 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1c40a8; /* rgb */ color: rgb(28, 64, 168); /* oklch */ color: oklch(41.7% 0.172 264.9);
Tailwind
colors: {
custom: {
50: '#7274c3',
500: '#1c40a8',
950: '#000000',
},
}SCSS
$custom: #1c40a8; $custom-light: #7274c3; $custom-dark: #000000;
JSON
{
"hex": "#1c40a8",
"rgb": {
"r": 28,
"g": 64,
"b": 168
},
"hsl": {
"h": 224.571,
"s": 71.429,
"l": 38.431
},
"oklch": {
"l": 0.41728,
"c": 0.17207,
"h": 264.9
},
"luminance": 0.06741
}Semantic roles & 50–950 ramp
primary
#1C40A8
secondary
#C7AB58
accent
#C03AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82