#2A2E9D#2A2E9D
#2A2E9D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.175 H 272.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E9D |
|---|---|
| RGB | rgb(42, 46, 157) |
| HSL | hsl(238, 58%, 39%) |
| HSV | hsv(238, 73%, 62%) |
| CMYK | cmyk(73.2%, 70.7%, 0%, 38.4%) |
| CIE-LAB | lab(26.39, 36.55, -60.45) |
| CIE-LCH | lch(26.39, 70.65, 301.16°) |
| OKLab | oklab(38.06% 0.0087 -0.1748) |
| OKLCH | oklch(38.06% 0.175 272.8) |
| XYZ | xyz(8.0156, 4.8797, 32.4112) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.49
Royal
#0C1793
ΔE00 5.68
Indigo Blue
#3A18B1
ΔE00 5.80
Blueberry
#464196
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.77
Cobalt Blue
#030AA7
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E9D #9D992A
analogous
#2A689D #2A2E9D #602A9D
triadic
#2A2E9D #9D2A2E #2E9D2A
tetradic
#2A2E9D #9D2A68 #9D992A #2A9D60
square
#2A2E9D #9D2A68 #9D992A #2A9D60
split-complementary
#2A2E9D #9D602A #689D2A
monochromatic
#10123C #1D206D #2A2E9D #3A3FCA #6A6ED7
Accessibility & contrast
On white
10.63
#2A2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2A2E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E9D
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E9D | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a2e9d; /* rgb */ color: rgb(42, 46, 157); /* oklch */ color: oklch(38.1% 0.175 272.8);
Tailwind
colors: {
custom: {
50: '#7567bb',
500: '#2a2e9d',
950: '#000000',
},
}SCSS
$custom: #2a2e9d; $custom-light: #7567bb; $custom-dark: #000000;
JSON
{
"hex": "#2a2e9d",
"rgb": {
"r": 42,
"g": 46,
"b": 157
},
"hsl": {
"h": 237.913,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.38062,
"c": 0.17506,
"h": 272.8
},
"luminance": 0.04881
}Semantic roles & 50–950 ramp
primary
#2A2E9D
secondary
#BEBB65
accent
#DC47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81