#2A4A90#2A4A90
#2A4A90 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.122 H 263.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4A90 |
|---|---|
| RGB | rgb(42, 74, 144) |
| HSL | hsl(221, 55%, 36%) |
| HSV | hsv(221, 71%, 56%) |
| CMYK | cmyk(70.8%, 48.6%, 0%, 43.5%) |
| CIE-LAB | lab(32.71, 13.09, -42.24) |
| CIE-LCH | lch(32.71, 44.22, 287.22°) |
| OKLab | oklab(42.44% -0.0136 -0.121) |
| OKLCH | oklch(42.44% 0.122 263.6) |
| XYZ | xyz(8.4359, 7.4026, 27.3644) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.44
Dusk Blue
#26538D
ΔE00 3.92
Cobalt
#0047AB
ΔE00 4.05
Darkish Blue
#014182
ΔE00 4.44
Twilight Blue
#0A437A
ΔE00 4.95
Light Navy
#155084
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4A90 #90702A
analogous
#2A7D90 #2A4A90 #3D2A90
triadic
#2A4A90 #902A4A #4A902A
tetradic
#2A4A90 #902A7D #90702A #2A903D
square
#2A4A90 #902A7D #90702A #2A903D
split-complementary
#2A4A90 #903D2A #7D902A
monochromatic
#0E1931 #1C3261 #2A4A90 #3862BF #6386D1
Accessibility & contrast
On white
8.47
#2A4A90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2A4A90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4A90
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4A90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4A90 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255293
Deuteranopia (green-blind)
#0D498F
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a4a90; /* rgb */ color: rgb(42, 74, 144); /* oklch */ color: oklch(42.4% 0.122 263.6);
Tailwind
colors: {
custom: {
50: '#707cb1',
500: '#2a4a90',
950: '#000000',
},
}SCSS
$custom: #2a4a90; $custom-light: #707cb1; $custom-dark: #000000;
JSON
{
"hex": "#2a4a90",
"rgb": {
"r": 42,
"g": 74,
"b": 144
},
"hsl": {
"h": 221.176,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.42435,
"c": 0.12181,
"h": 263.6
},
"luminance": 0.07403
}Semantic roles & 50–950 ramp
primary
#2A4A90
secondary
#B79C5E
accent
#B04ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80