#2A2FB5#2A2FB5
#2A2FB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.7% C 0.204 H 271.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2FB5 |
|---|---|
| RGB | rgb(42, 47, 181) |
| HSL | hsl(238, 62%, 44%) |
| HSV | hsv(238, 77%, 71%) |
| CMYK | cmyk(76.8%, 74%, 0%, 29%) |
| CIE-LAB | lab(29.06, 44.24, -70.51) |
| CIE-LCH | lch(29.06, 83.24, 302.10°) |
| OKLab | oklab(40.71% 0.0046 -0.2041) |
| OKLCH | oklch(40.71% 0.204 271.3) |
| XYZ | xyz(10.3090, 5.8603, 44.2949) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.30
Indigo Blue
#3A18B1
ΔE00 4.88
True Blue
#010FCC
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.69
Ocean Blue
#4F42B5
ΔE00 6.13
Blue With A Hint Of Purple
#533CC6
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2FB5 #B5B02A
analogous
#2A74B5 #2A2FB5 #6A2AB5
triadic
#2A2FB5 #B52A2F #2FB52A
tetradic
#2A2FB5 #B52A74 #B5B02A #2AB56A
square
#2A2FB5 #B52A74 #B5B02A #2AB56A
split-complementary
#2A2FB5 #B56A2A #74B52A
monochromatic
#131552 #1E2283 #2A2FB5 #484DD4 #797DE0
Accessibility & contrast
On white
9.67
#2A2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2A2FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2FB5
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2FB5 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a2fb5; /* rgb */ color: rgb(42, 47, 181); /* oklch */ color: oklch(40.7% 0.204 271.3);
Tailwind
colors: {
custom: {
50: '#7b69cc',
500: '#2a2fb5',
950: '#000000',
},
}SCSS
$custom: #2a2fb5; $custom-light: #7b69cc; $custom-dark: #000000;
JSON
{
"hex": "#2a2fb5",
"rgb": {
"r": 42,
"g": 47,
"b": 181
},
"hsl": {
"h": 237.842,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.40706,
"c": 0.20419,
"h": 271.3
},
"luminance": 0.05861
}Semantic roles & 50–950 ramp
primary
#2A2FB5
secondary
#C8C573
accent
#E042E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82