#2A3BA3#2A3BA3
#2A3BA3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.168 H 270.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BA3 |
|---|---|
| RGB | rgb(42, 59, 163) |
| HSL | hsl(232, 59%, 40%) |
| HSV | hsv(232, 74%, 64%) |
| CMYK | cmyk(74.2%, 63.8%, 0%, 36.1%) |
| CIE-LAB | lab(30.07, 30.40, -58.06) |
| CIE-LCH | lch(30.07, 65.54, 297.64°) |
| OKLab | oklab(40.91% -0.0001 -0.1678) |
| OKLCH | oklch(40.91% 0.168 270) |
| XYZ | xyz(9.1274, 6.2636, 35.3712) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.52
Blueberry
#464196
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BA3 #A3922A
analogous
#2A78A3 #2A3BA3 #552AA3
triadic
#2A3BA3 #A32A3B #3BA32A
tetradic
#2A3BA3 #A32A78 #A3922A #2AA355
square
#2A3BA3 #A32A78 #A3922A #2AA355
split-complementary
#2A3BA3 #A3552A #78A32A
monochromatic
#111842 #1D2972 #2A3BA3 #3D51CD #6E7DDA
Accessibility & contrast
On white
9.32
#2A3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A3BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BA3
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BA3 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3ba3; /* rgb */ color: rgb(42, 59, 163); /* oklch */ color: oklch(40.9% 0.168 270.0);
Tailwind
colors: {
custom: {
50: '#7671bf',
500: '#2a3ba3',
950: '#000000',
},
}SCSS
$custom: #2a3ba3; $custom-light: #7671bf; $custom-dark: #000000;
JSON
{
"hex": "#2a3ba3",
"rgb": {
"r": 42,
"g": 59,
"b": 163
},
"hsl": {
"h": 231.57,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.40913,
"c": 0.16777,
"h": 270
},
"luminance": 0.06265
}Semantic roles & 50–950 ramp
primary
#2A3BA3
secondary
#C0B468
accent
#CC46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81