#2A2BAA#2A2BAA
#2A2BAA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.195 H 272.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BAA |
|---|---|
| RGB | rgb(42, 43, 170) |
| HSL | hsl(240, 60%, 42%) |
| HSV | hsv(240, 75%, 67%) |
| CMYK | cmyk(75.3%, 74.7%, 0%, 33.3%) |
| CIE-LAB | lab(27.08, 42.82, -67.19) |
| CIE-LCH | lch(27.08, 79.68, 302.51°) |
| OKLab | oklab(38.95% 0.0082 -0.1945) |
| OKLCH | oklch(38.95% 0.195 272.4) |
| XYZ | xyz(9.0720, 5.1213, 38.5328) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 4.20
True Blue
#010FCC
ΔE00 5.71
Royal
#0C1793
ΔE00 5.73
Cobalt Blue
#030AA7
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BAA #AAA92A
analogous
#2A6BAA #2A2BAA #692AAA
triadic
#2A2BAA #AA2A2B #2BAA2A
tetradic
#2A2BAA #AA2A6B #AAA92A #2AAA69
square
#2A2BAA #AA2A6B #AAA92A #2AAA69
split-complementary
#2A2BAA #AA692A #6BAA2A
monochromatic
#121248 #1E1F79 #2A2BAA #4142D0 #7273DC
Accessibility & contrast
On white
10.37
#2A2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2A2BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BAA
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BAA | 1.00 | 10.37 | 2.02 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a2baa; /* rgb */ color: rgb(42, 43, 170); /* oklch */ color: oklch(39.0% 0.195 272.4);
Tailwind
colors: {
custom: {
50: '#7966c5',
500: '#2a2baa',
950: '#000000',
},
}SCSS
$custom: #2a2baa; $custom-light: #7966c5; $custom-dark: #000000;
JSON
{
"hex": "#2a2baa",
"rgb": {
"r": 42,
"g": 43,
"b": 170
},
"hsl": {
"h": 239.531,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.38953,
"c": 0.19464,
"h": 272.4
},
"luminance": 0.05122
}Semantic roles & 50–950 ramp
primary
#2A2BAA
secondary
#C3C36C
accent
#E244E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82