#2A3BA2#2A3BA2
#2A3BA2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.166 H 270.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BA2 |
|---|---|
| RGB | rgb(42, 59, 162) |
| HSL | hsl(232, 59%, 40%) |
| HSV | hsv(232, 74%, 64%) |
| CMYK | cmyk(74.1%, 63.6%, 0%, 36.5%) |
| CIE-LAB | lab(29.98, 30.03, -57.60) |
| CIE-LCH | lch(29.98, 64.96, 297.53°) |
| OKLab | oklab(40.82% -0.0001 -0.1664) |
| OKLCH | oklch(40.82% 0.166 270) |
| XYZ | xyz(9.0382, 6.2279, 34.9012) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.64
Blueberry
#464196
ΔE00 4.64
Blue Blue
#2242C7
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BA2 #A2912A
analogous
#2A77A2 #2A3BA2 #552AA2
triadic
#2A3BA2 #A22A3B #3BA22A
tetradic
#2A3BA2 #A22A77 #A2912A #2AA255
square
#2A3BA2 #A22A77 #A2912A #2AA255
split-complementary
#2A3BA2 #A2552A #77A22A
monochromatic
#111841 #1D2971 #2A3BA2 #3D51CD #6D7CD9
Accessibility & contrast
On white
9.35
#2A3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A3BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BA2
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BA2 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3ba2; /* rgb */ color: rgb(42, 59, 162); /* oklch */ color: oklch(40.8% 0.166 270.0);
Tailwind
colors: {
custom: {
50: '#7671be',
500: '#2a3ba2',
950: '#000000',
},
}SCSS
$custom: #2a3ba2; $custom-light: #7671be; $custom-dark: #000000;
JSON
{
"hex": "#2a3ba2",
"rgb": {
"r": 42,
"g": 59,
"b": 162
},
"hsl": {
"h": 231.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.40821,
"c": 0.16642,
"h": 270
},
"luminance": 0.06229
}Semantic roles & 50–950 ramp
primary
#2A3BA2
secondary
#C0B468
accent
#CC46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81