#2A2BAF#2A2BAF
#2A2BAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.201 H 272.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BAF |
|---|---|
| RGB | rgb(42, 43, 175) |
| HSL | hsl(240, 61%, 43%) |
| HSV | hsv(240, 76%, 69%) |
| CMYK | cmyk(76%, 75.4%, 0%, 31.4%) |
| CIE-LAB | lab(27.61, 44.50, -69.31) |
| CIE-LCH | lch(27.61, 82.37, 302.70°) |
| OKLab | oklab(39.49% 0.0073 -0.2006) |
| OKLCH | oklch(39.49% 0.201 272.1) |
| XYZ | xyz(9.5540, 5.3141, 41.0713) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Indigo Blue
#3A18B1
ΔE00 4.03
True Blue
#010FCC
ΔE00 5.27
Royal
#0C1793
ΔE00 6.15
Cobalt Blue
#030AA7
ΔE00 6.18
Mediumblue
#0000CD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BAF #AFAE2A
analogous
#2A6DAF #2A2BAF #6C2AAF
triadic
#2A2BAF #AF2A2B #2BAF2A
tetradic
#2A2BAF #AF2A6D #AFAE2A #2AAF6C
square
#2A2BAF #AF2A6D #AFAE2A #2AAF6C
split-complementary
#2A2BAF #AF6C2A #6DAF2A
monochromatic
#12134C #1E1F7E #2A2BAF #4445D2 #7576DE
Accessibility & contrast
On white
10.18
#2A2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2A2BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BAF
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BAF | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2baf; /* rgb */ color: rgb(42, 43, 175); /* oklch */ color: oklch(39.5% 0.201 272.1);
Tailwind
colors: {
custom: {
50: '#7a66c8',
500: '#2a2baf',
950: '#000000',
},
}SCSS
$custom: #2a2baf; $custom-light: #7a66c8; $custom-dark: #000000;
JSON
{
"hex": "#2a2baf",
"rgb": {
"r": 42,
"g": 43,
"b": 175
},
"hsl": {
"h": 239.549,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.3949,
"c": 0.20077,
"h": 272.1
},
"luminance": 0.05315
}Semantic roles & 50–950 ramp
primary
#2A2BAF
secondary
#C6C56F
accent
#E343E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82