#2A3B96#2A3B96
#2A3B96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.150 H 270.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3B96 |
|---|---|
| RGB | rgb(42, 59, 150) |
| HSL | hsl(231, 56%, 38%) |
| HSV | hsv(231, 72%, 59%) |
| CMYK | cmyk(72%, 60.7%, 0%, 41.2%) |
| CIE-LAB | lab(28.96, 25.54, -51.97) |
| CIE-LCH | lch(28.96, 57.91, 296.17°) |
| OKLab | oklab(39.75% 0.0001 -0.1499) |
| OKLCH | oklch(39.75% 0.15 270) |
| XYZ | xyz(8.0220, 5.8214, 29.5491) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.31
Blueberry
#464196
ΔE00 4.40
Darkslateblue
#483D8B
ΔE00 5.55
Cobalt
#0047AB
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3B96 #96852A
analogous
#2A7196 #2A3B96 #4F2A96
triadic
#2A3B96 #962A3B #3B962A
tetradic
#2A3B96 #962A71 #96852A #2A964F
square
#2A3B96 #962A71 #96852A #2A964F
split-complementary
#2A3B96 #964F2A #71962A
monochromatic
#0F1536 #1D2866 #2A3B96 #374EC6 #6678D4
Accessibility & contrast
On white
9.70
#2A3B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2A3B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3B96
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3B96 | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a3b96; /* rgb */ color: rgb(42, 59, 150); /* oklch */ color: oklch(39.7% 0.150 270.0);
Tailwind
colors: {
custom: {
50: '#7370b6',
500: '#2a3b96',
950: '#000000',
},
}SCSS
$custom: #2a3b96; $custom-light: #7370b6; $custom-dark: #000000;
JSON
{
"hex": "#2a3b96",
"rgb": {
"r": 42,
"g": 59,
"b": 150
},
"hsl": {
"h": 230.556,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.39746,
"c": 0.14992,
"h": 270
},
"luminance": 0.05822
}Semantic roles & 50–950 ramp
primary
#2A3B96
secondary
#BAAC61
accent
#C848E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80