#1C40A5#1C40A5
#1C40A5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.168 H 264.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1C40A5 |
|---|---|
| RGB | rgb(28, 64, 165) |
| HSL | hsl(224, 71%, 38%) |
| HSV | hsv(224, 83%, 65%) |
| CMYK | cmyk(83%, 61.2%, 0%, 35.3%) |
| CIE-LAB | lab(30.95, 26.39, -57.85) |
| CIE-LCH | lch(30.95, 63.58, 294.52°) |
| OKLab | oklab(41.46% -0.0152 -0.1674) |
| OKLCH | oklch(41.46% 0.168 264.8) |
| XYZ | xyz(9.1014, 6.6292, 36.3899) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.05
Sapphire (survey)
#2138AB
ΔE00 3.10
Cobalt (survey)
#1E488F
ΔE00 4.87
Blue Blue
#2242C7
ΔE00 4.89
Blueberry
#464196
ΔE00 6.00
Sapphire
#0F52BA
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C40A5 #A5811C
analogous
#1C84A5 #1C40A5 #3D1CA5
triadic
#1C40A5 #A51C40 #40A51C
tetradic
#1C40A5 #A51C84 #A5811C #1CA53D
square
#1C40A5 #A51C84 #A5811C #1CA53D
split-complementary
#1C40A5 #A53D1C #84A51C
monochromatic
#0A173C #132C71 #1C40A5 #2554D9 #597DE3
Accessibility & contrast
On white
9.03
#1C40A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1C40A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C40A5
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C40A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C40A5 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1c40a5; /* rgb */ color: rgb(28, 64, 165); /* oklch */ color: oklch(41.5% 0.168 264.8);
Tailwind
colors: {
custom: {
50: '#7174c1',
500: '#1c40a5',
950: '#000000',
},
}SCSS
$custom: #1c40a5; $custom-light: #7174c1; $custom-dark: #000000;
JSON
{
"hex": "#1c40a5",
"rgb": {
"r": 28,
"g": 64,
"b": 165
},
"hsl": {
"h": 224.234,
"s": 70.984,
"l": 37.843
},
"oklch": {
"l": 0.41455,
"c": 0.16805,
"h": 264.8
},
"luminance": 0.0663
}Semantic roles & 50–950 ramp
primary
#1C40A5
secondary
#C6A956
accent
#BF3AEE
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81