#1C40A6#1C40A6
#1C40A6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.169 H 264.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1C40A6 |
|---|---|
| RGB | rgb(28, 64, 166) |
| HSL | hsl(224, 71%, 38%) |
| HSV | hsv(224, 83%, 65%) |
| CMYK | cmyk(83.1%, 61.4%, 0%, 34.9%) |
| CIE-LAB | lab(31.03, 26.78, -58.31) |
| CIE-LCH | lch(31.03, 64.17, 294.67°) |
| OKLab | oklab(41.55% -0.0152 -0.1687) |
| OKLCH | oklch(41.55% 0.169 264.8) |
| XYZ | xyz(9.1928, 6.6657, 36.8711) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Cobalt
#0047AB
ΔE00 3.07
Blue Blue
#2242C7
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 4.99
Blueberry
#464196
ΔE00 6.01
Sapphire
#0F52BA
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C40A6 #A6821C
analogous
#1C85A6 #1C40A6 #3D1CA6
triadic
#1C40A6 #A61C40 #40A61C
tetradic
#1C40A6 #A61C85 #A6821C #1CA63D
square
#1C40A6 #A61C85 #A6821C #1CA63D
split-complementary
#1C40A6 #A63D1C #85A61C
monochromatic
#0A183D #132C72 #1C40A6 #2554DA #597DE3
Accessibility & contrast
On white
9.00
#1C40A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1C40A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C40A6
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C40A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C40A6 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1c40a6; /* rgb */ color: rgb(28, 64, 166); /* oklch */ color: oklch(41.5% 0.169 264.8);
Tailwind
colors: {
custom: {
50: '#7274c1',
500: '#1c40a6',
950: '#000000',
},
}SCSS
$custom: #1c40a6; $custom-light: #7274c1; $custom-dark: #000000;
JSON
{
"hex": "#1c40a6",
"rgb": {
"r": 28,
"g": 64,
"b": 166
},
"hsl": {
"h": 224.348,
"s": 71.134,
"l": 38.039
},
"oklch": {
"l": 0.41546,
"c": 0.1694,
"h": 264.8
},
"luminance": 0.06667
}Semantic roles & 50–950 ramp
primary
#1C40A6
secondary
#C7AA57
accent
#BF3AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81