#2A3DAB#2A3DAB
#2A3DAB is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.176 H 269.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3DAB |
|---|---|
| RGB | rgb(42, 61, 171) |
| HSL | hsl(231, 61%, 42%) |
| HSV | hsv(231, 75%, 67%) |
| CMYK | cmyk(75.4%, 64.3%, 0%, 32.9%) |
| CIE-LAB | lab(31.27, 32.05, -60.89) |
| CIE-LCH | lch(31.27, 68.81, 297.76°) |
| OKLab | oklab(42.02% -0.0018 -0.1761) |
| OKLCH | oklch(42.02% 0.176 269.4) |
| XYZ | xyz(9.9717, 6.7689, 39.3012) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.49
Blue Blue
#2242C7
ΔE00 3.89
Cobalt
#0047AB
ΔE00 5.05
Blueberry
#464196
ΔE00 5.11
Ocean Blue
#4F42B5
ΔE00 5.22
Blue (survey)
#0343DF
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3DAB #AB982A
analogous
#2A7EAB #2A3DAB #582AAB
triadic
#2A3DAB #AB2A3D #3DAB2A
tetradic
#2A3DAB #AB2A7E #AB982A #2AAB58
square
#2A3DAB #AB2A7E #AB982A #2AAB58
split-complementary
#2A3DAB #AB582A #7EAB2A
monochromatic
#121A49 #1E2B7A #2A3DAB #4257D1 #7382DD
Accessibility & contrast
On white
8.92
#2A3DAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2A3DAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3DAB
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3DAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3DAB | 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)
#0050AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a3dab; /* rgb */ color: rgb(42, 61, 171); /* oklch */ color: oklch(42.0% 0.176 269.4);
Tailwind
colors: {
custom: {
50: '#7872c5',
500: '#2a3dab',
950: '#000000',
},
}SCSS
$custom: #2a3dab; $custom-light: #7872c5; $custom-dark: #000000;
JSON
{
"hex": "#2a3dab",
"rgb": {
"r": 42,
"g": 61,
"b": 171
},
"hsl": {
"h": 231.163,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.42019,
"c": 0.17606,
"h": 269.4
},
"luminance": 0.0677
}Semantic roles & 50–950 ramp
primary
#2A3DAB
secondary
#C4B76D
accent
#CC44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82