#2A4B96#2A4B96
#2A4B96 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.129 H 263.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4B96 |
|---|---|
| RGB | rgb(42, 75, 150) |
| HSL | hsl(222, 56%, 38%) |
| HSV | hsv(222, 72%, 59%) |
| CMYK | cmyk(72%, 50%, 0%, 41.2%) |
| CIE-LAB | lab(33.40, 14.73, -44.77) |
| CIE-LCH | lch(33.40, 47.13, 288.21°) |
| OKLab | oklab(43.1% -0.0137 -0.1285) |
| OKLCH | oklch(43.1% 0.129 263.9) |
| XYZ | xyz(8.9740, 7.7255, 29.8665) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.86
Cobalt
#0047AB
ΔE00 3.46
Dusk Blue
#26538D
ΔE00 3.94
Darkish Blue
#014182
ΔE00 4.99
Sapphire
#0F52BA
ΔE00 5.13
Denim Blue
#3B5B92
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4B96 #96752A
analogous
#2A8196 #2A4B96 #3F2A96
triadic
#2A4B96 #962A4B #4B962A
tetradic
#2A4B96 #962A81 #96752A #2A963F
square
#2A4B96 #962A81 #96752A #2A963F
split-complementary
#2A4B96 #963F2A #81962A
monochromatic
#0F1B36 #1D3366 #2A4B96 #3763C6 #6688D4
Accessibility & contrast
On white
8.25
#2A4B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2A4B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4B96
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4B96 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a4b96; /* rgb */ color: rgb(42, 75, 150); /* oklch */ color: oklch(43.1% 0.129 263.9);
Tailwind
colors: {
custom: {
50: '#727cb5',
500: '#2a4b96',
950: '#000000',
},
}SCSS
$custom: #2a4b96; $custom-light: #727cb5; $custom-dark: #000000;
JSON
{
"hex": "#2a4b96",
"rgb": {
"r": 42,
"g": 75,
"b": 150
},
"hsl": {
"h": 221.667,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.43099,
"c": 0.12921,
"h": 263.9
},
"luminance": 0.07726
}Semantic roles & 50–950 ramp
primary
#2A4B96
secondary
#BA9F61
accent
#B148E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80