#2A3AB3#2A3AB3
#2A3AB3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.190 H 269.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3AB3 |
|---|---|
| RGB | rgb(42, 58, 179) |
| HSL | hsl(233, 62%, 43%) |
| HSV | hsv(233, 77%, 70%) |
| CMYK | cmyk(76.5%, 67.6%, 0%, 29.8%) |
| CIE-LAB | lab(31.28, 36.88, -65.65) |
| CIE-LCH | lch(31.28, 75.31, 299.33°) |
| OKLab | oklab(42.25% -0.0005 -0.19) |
| OKLCH | oklch(42.25% 0.19 269.9) |
| XYZ | xyz(10.6018, 6.7719, 43.3874) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.51
Blue Blue
#2242C7
ΔE00 3.43
Ocean Blue
#4F42B5
ΔE00 4.85
Blue With A Hint Of Purple
#533CC6
ΔE00 5.89
Blueberry
#464196
ΔE00 5.90
Blue (survey)
#0343DF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3AB3 #B3A32A
analogous
#2A7EB3 #2A3AB3 #5E2AB3
triadic
#2A3AB3 #B32A3A #3AB32A
tetradic
#2A3AB3 #B32A7E #B3A32A #2AB35E
square
#2A3AB3 #B32A7E #B3A32A #2AB35E
split-complementary
#2A3AB3 #B35E2A #7EB32A
monochromatic
#131A50 #1E2A81 #2A3AB3 #4657D4 #7884DF
Accessibility & contrast
On white
8.92
#2A3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2A3AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3AB3
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3AB3 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a3ab3; /* rgb */ color: rgb(42, 58, 179); /* oklch */ color: oklch(42.2% 0.190 269.9);
Tailwind
colors: {
custom: {
50: '#7a70cb',
500: '#2a3ab3',
950: '#000000',
},
}SCSS
$custom: #2a3ab3; $custom-light: #7a70cb; $custom-dark: #000000;
JSON
{
"hex": "#2a3ab3",
"rgb": {
"r": 42,
"g": 58,
"b": 179
},
"hsl": {
"h": 232.993,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.42248,
"c": 0.19,
"h": 269.9
},
"luminance": 0.06773
}Semantic roles & 50–950 ramp
primary
#2A3AB3
secondary
#C7BD72
accent
#D243E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82