#2A3BA1#2A3BA1
#2A3BA1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.165 H 270.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BA1 |
|---|---|
| RGB | rgb(42, 59, 161) |
| HSL | hsl(231, 59%, 40%) |
| HSV | hsv(231, 74%, 63%) |
| CMYK | cmyk(73.9%, 63.4%, 0%, 36.9%) |
| CIE-LAB | lab(29.89, 29.66, -57.14) |
| CIE-LCH | lch(29.89, 64.38, 297.43°) |
| OKLab | oklab(40.73% 0 -0.1651) |
| OKLCH | oklch(40.73% 0.165 270) |
| XYZ | xyz(8.9496, 6.1924, 34.4349) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.76
Blueberry
#464196
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BA1 #A1902A
analogous
#2A76A1 #2A3BA1 #552AA1
triadic
#2A3BA1 #A12A3B #3BA12A
tetradic
#2A3BA1 #A12A76 #A1902A #2AA155
square
#2A3BA1 #A12A76 #A1902A #2AA155
split-complementary
#2A3BA1 #A1552A #76A12A
monochromatic
#111740 #1D2970 #2A3BA1 #3C51CC #6D7CD9
Accessibility & contrast
On white
9.38
#2A3BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2A3BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BA1
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BA1 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3ba1; /* rgb */ color: rgb(42, 59, 161); /* oklch */ color: oklch(40.7% 0.165 270.0);
Tailwind
colors: {
custom: {
50: '#7570be',
500: '#2a3ba1',
950: '#000000',
},
}SCSS
$custom: #2a3ba1; $custom-light: #7570be; $custom-dark: #000000;
JSON
{
"hex": "#2a3ba1",
"rgb": {
"r": 42,
"g": 59,
"b": 161
},
"hsl": {
"h": 231.429,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.4073,
"c": 0.16507,
"h": 270
},
"luminance": 0.06193
}Semantic roles & 50–950 ramp
primary
#2A3BA1
secondary
#C0B367
accent
#CC46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81