#2A3BA4#2A3BA4
#2A3BA4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.169 H 269.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BA4 |
|---|---|
| RGB | rgb(42, 59, 164) |
| HSL | hsl(232, 59%, 40%) |
| HSV | hsv(232, 74%, 64%) |
| CMYK | cmyk(74.4%, 64%, 0%, 35.7%) |
| CIE-LAB | lab(30.16, 30.77, -58.52) |
| CIE-LCH | lch(30.16, 66.11, 297.74°) |
| OKLab | oklab(41.01% -0.0002 -0.1691) |
| OKLCH | oklch(41.01% 0.169 269.9) |
| XYZ | xyz(9.2174, 6.2995, 35.8449) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.42
Blueberry
#464196
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.46
Ocean Blue
#4F42B5
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BA4 #A4932A
analogous
#2A78A4 #2A3BA4 #562AA4
triadic
#2A3BA4 #A42A3B #3BA42A
tetradic
#2A3BA4 #A42A78 #A4932A #2AA456
square
#2A3BA4 #A42A78 #A4932A #2AA456
split-complementary
#2A3BA4 #A4562A #78A42A
monochromatic
#111843 #1E2973 #2A3BA4 #3E52CD #6E7DDA
Accessibility & contrast
On white
9.29
#2A3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2A3BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BA4
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BA4 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3ba4; /* rgb */ color: rgb(42, 59, 164); /* oklch */ color: oklch(41.0% 0.169 269.9);
Tailwind
colors: {
custom: {
50: '#7671c0',
500: '#2a3ba4',
950: '#000000',
},
}SCSS
$custom: #2a3ba4; $custom-light: #7671c0; $custom-dark: #000000;
JSON
{
"hex": "#2a3ba4",
"rgb": {
"r": 42,
"g": 59,
"b": 164
},
"hsl": {
"h": 231.639,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.41005,
"c": 0.16912,
"h": 269.9
},
"luminance": 0.06301
}Semantic roles & 50–950 ramp
primary
#2A3BA4
secondary
#C1B569
accent
#CD45E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81