#2A3BA0#2A3BA0
#2A3BA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.164 H 270.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BA0 |
|---|---|
| RGB | rgb(42, 59, 160) |
| HSL | hsl(231, 58%, 40%) |
| HSV | hsv(231, 74%, 63%) |
| CMYK | cmyk(73.8%, 63.1%, 0%, 37.3%) |
| CIE-LAB | lab(29.81, 29.29, -56.67) |
| CIE-LCH | lch(29.81, 63.79, 297.33°) |
| OKLab | oklab(40.64% 0 -0.1637) |
| OKLCH | oklch(40.64% 0.164 270) |
| XYZ | xyz(8.8618, 6.1573, 33.9723) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.89
Blueberry
#464196
ΔE00 4.56
Cobalt
#0047AB
ΔE00 5.45
Blue Blue
#2242C7
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BA0 #A08F2A
analogous
#2A76A0 #2A3BA0 #542AA0
triadic
#2A3BA0 #A02A3B #3BA02A
tetradic
#2A3BA0 #A02A76 #A08F2A #2AA054
square
#2A3BA0 #A02A76 #A08F2A #2AA054
split-complementary
#2A3BA0 #A0542A #76A02A
monochromatic
#11173F #1D2970 #2A3BA0 #3C50CC #6C7CD8
Accessibility & contrast
On white
9.41
#2A3BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2A3BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BA0
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BA0 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3ba0; /* rgb */ color: rgb(42, 59, 160); /* oklch */ color: oklch(40.6% 0.164 270.0);
Tailwind
colors: {
custom: {
50: '#7570bd',
500: '#2a3ba0',
950: '#000000',
},
}SCSS
$custom: #2a3ba0; $custom-light: #7570bd; $custom-dark: #000000;
JSON
{
"hex": "#2a3ba0",
"rgb": {
"r": 42,
"g": 59,
"b": 160
},
"hsl": {
"h": 231.356,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.40639,
"c": 0.16371,
"h": 270
},
"luminance": 0.06158
}Semantic roles & 50–950 ramp
primary
#2A3BA0
secondary
#BFB267
accent
#CB46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81