#2A2B8D#2A2B8D
#2A2B8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.157 H 274.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B8D |
|---|---|
| RGB | rgb(42, 43, 141) |
| HSL | hsl(239, 54%, 36%) |
| HSV | hsv(239, 70%, 55%) |
| CMYK | cmyk(70.2%, 69.5%, 0%, 44.7%) |
| CIE-LAB | lab(24.14, 32.77, -54.31) |
| CIE-LCH | lch(24.14, 63.43, 301.10°) |
| OKLab | oklab(35.96% 0.0127 -0.1569) |
| OKLCH | oklch(35.96% 0.157 274.6) |
| XYZ | xyz(6.6248, 4.1425, 25.6446) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.12
Sapphire (survey)
#2138AB
ΔE00 5.48
Midnight Blue
#191970
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.49
Blueberry
#464196
ΔE00 6.82
Indigo Blue
#3A18B1
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B8D #8D8C2A
analogous
#2A5C8D #2A2B8D #5A2A8D
triadic
#2A2B8D #8D2A2B #2B8D2A
tetradic
#2A2B8D #8D2A5C #8D8C2A #2A8D5A
square
#2A2B8D #8D2A5C #8D8C2A #2A8D5A
split-complementary
#2A2B8D #8D5A2A #5C8D2A
monochromatic
#0E0E2F #1C1D5E #2A2B8D #3839BC #6162D0
Accessibility & contrast
On white
11.48
#2A2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2A2B8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B8D
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B8D | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2a2b8d; /* rgb */ color: rgb(42, 43, 141); /* oklch */ color: oklch(36.0% 0.157 274.6);
Tailwind
colors: {
custom: {
50: '#7265af',
500: '#2a2b8d',
950: '#000000',
},
}SCSS
$custom: #2a2b8d; $custom-light: #7265af; $custom-dark: #000000;
JSON
{
"hex": "#2a2b8d",
"rgb": {
"r": 42,
"g": 43,
"b": 141
},
"hsl": {
"h": 239.394,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.35962,
"c": 0.1574,
"h": 274.6
},
"luminance": 0.04143
}Semantic roles & 50–950 ramp
primary
#2A2B8D
secondary
#B6B55D
accent
#DC4ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F