#2A3BAA#2A3BAA
#2A3BAA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.177 H 269.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BAA |
|---|---|
| RGB | rgb(42, 59, 170) |
| HSL | hsl(232, 60%, 42%) |
| HSV | hsv(232, 75%, 67%) |
| CMYK | cmyk(75.3%, 65.3%, 0%, 33.3%) |
| CIE-LAB | lab(30.69, 32.98, -61.25) |
| CIE-LCH | lch(30.69, 69.56, 298.30°) |
| OKLab | oklab(41.56% -0.0004 -0.1771) |
| OKLCH | oklch(41.56% 0.177 269.9) |
| XYZ | xyz(9.7720, 6.5214, 38.7662) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.02
Blue Blue
#2242C7
ΔE00 4.24
Blueberry
#464196
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.29
Cobalt
#0047AB
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BAA #AA992A
analogous
#2A7BAA #2A3BAA #592AAA
triadic
#2A3BAA #AA2A3B #3BAA2A
tetradic
#2A3BAA #AA2A7B #AA992A #2AAA59
square
#2A3BAA #AA2A7B #AA992A #2AAA59
split-complementary
#2A3BAA #AA592A #7BAA2A
monochromatic
#121948 #1E2A79 #2A3BAA #4154D0 #7280DC
Accessibility & contrast
On white
9.11
#2A3BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A3BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BAA
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BAA | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a3baa; /* rgb */ color: rgb(42, 59, 170); /* oklch */ color: oklch(41.6% 0.177 269.9);
Tailwind
colors: {
custom: {
50: '#7771c4',
500: '#2a3baa',
950: '#000000',
},
}SCSS
$custom: #2a3baa; $custom-light: #7771c4; $custom-dark: #000000;
JSON
{
"hex": "#2a3baa",
"rgb": {
"r": 42,
"g": 59,
"b": 170
},
"hsl": {
"h": 232.031,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.41563,
"c": 0.17711,
"h": 269.9
},
"luminance": 0.06522
}Semantic roles & 50–950 ramp
primary
#2A3BAA
secondary
#C3B86C
accent
#CE44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82