#2A4C91#2A4C91
#2A4C91 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.121 H 262.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4C91 |
|---|---|
| RGB | rgb(42, 76, 145) |
| HSL | hsl(220, 55%, 37%) |
| HSV | hsv(220, 71%, 57%) |
| CMYK | cmyk(71%, 47.6%, 0%, 43.1%) |
| CIE-LAB | lab(33.36, 12.13, -41.80) |
| CIE-LCH | lch(33.36, 43.52, 286.18°) |
| OKLab | oklab(42.96% -0.0154 -0.1197) |
| OKLCH | oklch(42.96% 0.121 262.7) |
| XYZ | xyz(8.6483, 7.7046, 27.8139) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.61
Dusk Blue
#26538D
ΔE00 3.26
Cobalt
#0047AB
ΔE00 4.09
Darkish Blue
#014182
ΔE00 4.68
Light Navy
#155084
ΔE00 4.91
Denim Blue
#3B5B92
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4C91 #916F2A
analogous
#2A8091 #2A4C91 #3C2A91
triadic
#2A4C91 #912A4C #4C912A
tetradic
#2A4C91 #912A80 #916F2A #2A913C
square
#2A4C91 #912A80 #916F2A #2A913C
split-complementary
#2A4C91 #913C2A #80912A
monochromatic
#0F1A32 #1C3362 #2A4C91 #3865C0 #6388D2
Accessibility & contrast
On white
8.26
#2A4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A4C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4C91
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4C91 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285394
Deuteranopia (green-blind)
#124A90
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a4c91; /* rgb */ color: rgb(42, 76, 145); /* oklch */ color: oklch(43.0% 0.121 262.7);
Tailwind
colors: {
custom: {
50: '#717db2',
500: '#2a4c91',
950: '#000000',
},
}SCSS
$custom: #2a4c91; $custom-light: #717db2; $custom-dark: #000000;
JSON
{
"hex": "#2a4c91",
"rgb": {
"r": 42,
"g": 76,
"b": 145
},
"hsl": {
"h": 220.194,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.42957,
"c": 0.1207,
"h": 262.7
},
"luminance": 0.07705
}Semantic roles & 50–950 ramp
primary
#2A4C91
secondary
#B89B5F
accent
#AD49DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80