#2A2B90#2A2B90
#2A2B90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.161 H 274.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B90 |
|---|---|
| RGB | rgb(42, 43, 144) |
| HSL | hsl(239, 55%, 36%) |
| HSV | hsv(239, 71%, 56%) |
| CMYK | cmyk(70.8%, 70.1%, 0%, 43.5%) |
| CIE-LAB | lab(24.43, 33.83, -55.69) |
| CIE-LCH | lch(24.43, 65.16, 301.28°) |
| OKLab | oklab(36.26% 0.0124 -0.1609) |
| OKLCH | oklch(36.26% 0.161 274.4) |
| XYZ | xyz(6.8511, 4.2330, 26.8361) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.99
Sapphire (survey)
#2138AB
ΔE00 5.17
Midnight Blue
#191970
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.59
Indigo Blue
#3A18B1
ΔE00 6.60
Blueberry
#464196
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B90 #908F2A
analogous
#2A5E90 #2A2B90 #5C2A90
triadic
#2A2B90 #902A2B #2B902A
tetradic
#2A2B90 #902A5E #908F2A #2A905C
square
#2A2B90 #902A5E #908F2A #2A905C
split-complementary
#2A2B90 #905C2A #5E902A
monochromatic
#0E0F31 #1C1D61 #2A2B90 #3839BF #6364D1
Accessibility & contrast
On white
11.37
#2A2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2A2B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B90
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B90 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a2b90; /* rgb */ color: rgb(42, 43, 144); /* oklch */ color: oklch(36.3% 0.161 274.4);
Tailwind
colors: {
custom: {
50: '#7365b2',
500: '#2a2b90',
950: '#000000',
},
}SCSS
$custom: #2a2b90; $custom-light: #7365b2; $custom-dark: #000000;
JSON
{
"hex": "#2a2b90",
"rgb": {
"r": 42,
"g": 43,
"b": 144
},
"hsl": {
"h": 239.412,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.3626,
"c": 0.1614,
"h": 274.4
},
"luminance": 0.04234
}Semantic roles & 50–950 ramp
primary
#2A2B90
secondary
#B7B75E
accent
#DD4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80