#1C40A0#1C40A0
#1C40A0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.161 H 264.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1C40A0 |
|---|---|
| RGB | rgb(28, 64, 160) |
| HSL | hsl(224, 70%, 37%) |
| HSV | hsv(224, 83%, 63%) |
| CMYK | cmyk(82.5%, 60%, 0%, 37.3%) |
| CIE-LAB | lab(30.52, 24.42, -55.53) |
| CIE-LCH | lch(30.52, 60.66, 293.74°) |
| OKLab | oklab(41.01% -0.0154 -0.1605) |
| OKLCH | oklch(41.01% 0.161 264.5) |
| XYZ | xyz(8.6552, 6.4507, 34.0398) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.07
Sapphire (survey)
#2138AB
ΔE00 3.59
Cobalt (survey)
#1E488F
ΔE00 4.31
Blue Blue
#2242C7
ΔE00 5.62
Darkish Blue
#014182
ΔE00 5.76
Blueberry
#464196
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C40A0 #A07C1C
analogous
#1C82A0 #1C40A0 #3A1CA0
triadic
#1C40A0 #A01C40 #40A01C
tetradic
#1C40A0 #A01C82 #A07C1C #1CA03A
square
#1C40A0 #A01C82 #A07C1C #1CA03A
split-complementary
#1C40A0 #A03A1C #82A01C
monochromatic
#0A1638 #132B6C #1C40A0 #2555D4 #557BE1
Accessibility & contrast
On white
9.17
#1C40A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1C40A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C40A0
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C40A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C40A0 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1c40a0; /* rgb */ color: rgb(28, 64, 160); /* oklch */ color: oklch(41.0% 0.161 264.5);
Tailwind
colors: {
custom: {
50: '#7074bd',
500: '#1c40a0',
950: '#000000',
},
}SCSS
$custom: #1c40a0; $custom-light: #7074bd; $custom-dark: #000000;
JSON
{
"hex": "#1c40a0",
"rgb": {
"r": 28,
"g": 64,
"b": 160
},
"hsl": {
"h": 223.636,
"s": 70.213,
"l": 36.863
},
"oklch": {
"l": 0.41005,
"c": 0.16128,
"h": 264.5
},
"luminance": 0.06452
}Semantic roles & 50–950 ramp
primary
#1C40A0
secondary
#C4A653
accent
#BC3BED
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81