#2A2D90#2A2D90
#2A2D90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.159 H 274.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D90 |
|---|---|
| RGB | rgb(42, 45, 144) |
| HSL | hsl(238, 55%, 36%) |
| HSV | hsv(238, 71%, 56%) |
| CMYK | cmyk(70.8%, 68.7%, 0%, 43.5%) |
| CIE-LAB | lab(24.90, 32.56, -54.92) |
| CIE-LCH | lch(24.90, 63.85, 300.66°) |
| OKLab | oklab(36.6% 0.011 -0.1587) |
| OKLCH | oklch(36.6% 0.159 274) |
| XYZ | xyz(6.9256, 4.3820, 26.8610) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Royal
#0C1793
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 6.25
Blueberry
#464196
ΔE00 6.37
Midnight Blue
#191970
ΔE00 6.67
Indigo Blue
#3A18B1
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D90 #908D2A
analogous
#2A6090 #2A2D90 #5A2A90
triadic
#2A2D90 #902A2D #2D902A
tetradic
#2A2D90 #902A60 #908D2A #2A905A
square
#2A2D90 #902A60 #908D2A #2A905A
split-complementary
#2A2D90 #905A2A #60902A
monochromatic
#0E0F31 #1C1E61 #2A2D90 #383CBF #6366D1
Accessibility & contrast
On white
11.19
#2A2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2A2D90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D90
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D90 | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a2d90; /* rgb */ color: rgb(42, 45, 144); /* oklch */ color: oklch(36.6% 0.159 274.0);
Tailwind
colors: {
custom: {
50: '#7266b1',
500: '#2a2d90',
950: '#000000',
},
}SCSS
$custom: #2a2d90; $custom-light: #7266b1; $custom-dark: #000000;
JSON
{
"hex": "#2a2d90",
"rgb": {
"r": 42,
"g": 45,
"b": 144
},
"hsl": {
"h": 238.235,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.36599,
"c": 0.15906,
"h": 274
},
"luminance": 0.04383
}Semantic roles & 50–950 ramp
primary
#2A2D90
secondary
#B7B55E
accent
#DA4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80