#2A2B8E#2A2B8E
#2A2B8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.159 H 274.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B8E |
|---|---|
| RGB | rgb(42, 43, 142) |
| HSL | hsl(239, 54%, 36%) |
| HSV | hsv(239, 70%, 56%) |
| CMYK | cmyk(70.4%, 69.7%, 0%, 44.3%) |
| CIE-LAB | lab(24.23, 33.12, -54.77) |
| CIE-LCH | lch(24.23, 64.01, 301.16°) |
| OKLab | oklab(36.06% 0.0126 -0.1582) |
| OKLCH | oklch(36.06% 0.159 274.6) |
| XYZ | xyz(6.6996, 4.1724, 26.0382) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.38
Midnight Blue
#191970
ΔE00 6.13
Darkslateblue
#483D8B
ΔE00 6.52
Blueberry
#464196
ΔE00 6.81
Indigo Blue
#3A18B1
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B8E #8E8D2A
analogous
#2A5D8E #2A2B8E #5B2A8E
triadic
#2A2B8E #8E2A2B #2B8E2A
tetradic
#2A2B8E #8E2A5D #8E8D2A #2A8E5B
square
#2A2B8E #8E2A5D #8E8D2A #2A8E5B
split-complementary
#2A2B8E #8E5B2A #5D8E2A
monochromatic
#0E0E30 #1C1D5F #2A2B8E #3839BD #6263D1
Accessibility & contrast
On white
11.45
#2A2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2A2B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B8E
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B8E | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a2b8e; /* rgb */ color: rgb(42, 43, 142); /* oklch */ color: oklch(36.1% 0.159 274.6);
Tailwind
colors: {
custom: {
50: '#7265b0',
500: '#2a2b8e',
950: '#000000',
},
}SCSS
$custom: #2a2b8e; $custom-light: #7265b0; $custom-dark: #000000;
JSON
{
"hex": "#2a2b8e",
"rgb": {
"r": 42,
"g": 43,
"b": 142
},
"hsl": {
"h": 239.4,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.36061,
"c": 0.15874,
"h": 274.6
},
"luminance": 0.04173
}Semantic roles & 50–950 ramp
primary
#2A2B8E
secondary
#B6B65D
accent
#DC4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80