#2A3BA5#2A3BA5
#2A3BA5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.170 H 269.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BA5 |
|---|---|
| RGB | rgb(42, 59, 165) |
| HSL | hsl(232, 59%, 41%) |
| HSV | hsv(232, 75%, 65%) |
| CMYK | cmyk(74.5%, 64.2%, 0%, 35.3%) |
| CIE-LAB | lab(30.24, 31.14, -58.98) |
| CIE-LCH | lch(30.24, 66.69, 297.83°) |
| OKLab | oklab(41.1% -0.0002 -0.1705) |
| OKLCH | oklch(41.1% 0.17 269.9) |
| XYZ | xyz(9.3080, 6.3358, 36.3224) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.32
Blueberry
#464196
ΔE00 4.80
Blue Blue
#2242C7
ΔE00 4.85
Cobalt
#0047AB
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BA5 #A5942A
analogous
#2A78A5 #2A3BA5 #562AA5
triadic
#2A3BA5 #A52A3B #3BA52A
tetradic
#2A3BA5 #A52A78 #A5942A #2AA556
square
#2A3BA5 #A52A78 #A5942A #2AA556
split-complementary
#2A3BA5 #A5562A #78A52A
monochromatic
#111843 #1E2A74 #2A3BA5 #3E52CE #6F7EDA
Accessibility & contrast
On white
9.26
#2A3BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A3BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BA5
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BA5 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3ba5; /* rgb */ color: rgb(42, 59, 165); /* oklch */ color: oklch(41.1% 0.170 269.9);
Tailwind
colors: {
custom: {
50: '#7671c1',
500: '#2a3ba5',
950: '#000000',
},
}SCSS
$custom: #2a3ba5; $custom-light: #7671c1; $custom-dark: #000000;
JSON
{
"hex": "#2a3ba5",
"rgb": {
"r": 42,
"g": 59,
"b": 165
},
"hsl": {
"h": 231.707,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.41097,
"c": 0.17046,
"h": 269.9
},
"luminance": 0.06337
}Semantic roles & 50–950 ramp
primary
#2A3BA5
secondary
#C1B569
accent
#CD45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81