#2B2E82#2B2E82
#2B2E82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.138 H 275.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E82 |
|---|---|
| RGB | rgb(43, 46, 130) |
| HSL | hsl(238, 50%, 34%) |
| HSV | hsv(238, 67%, 51%) |
| CMYK | cmyk(66.9%, 64.6%, 0%, 49%) |
| CIE-LAB | lab(23.93, 26.99, -47.77) |
| CIE-LCH | lch(23.93, 54.87, 299.46°) |
| OKLab | oklab(35.52% 0.0127 -0.1377) |
| OKLCH | oklch(35.52% 0.138 275.2) |
| XYZ | xyz(6.0012, 4.0788, 21.5858) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.79
Midnight Blue
#191970
ΔE00 5.97
Blueberry
#464196
ΔE00 6.48
Sapphire (survey)
#2138AB
ΔE00 6.49
Royal
#0C1793
ΔE00 6.80
Marine
#042E60
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E82 #827F2B
analogous
#2B5A82 #2B2E82 #542B82
triadic
#2B2E82 #822B2E #2E822B
tetradic
#2B2E82 #822B5A #827F2B #2B8254
square
#2B2E82 #822B5A #827F2B #2B8254
split-complementary
#2B2E82 #82542B #5A822B
monochromatic
#0D0D26 #1C1E54 #2B2E82 #3A3EB0 #5E61CA
Accessibility & contrast
On white
11.57
#2B2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2B2E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E82
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E82 | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b2e82; /* rgb */ color: rgb(43, 46, 130); /* oklch */ color: oklch(35.5% 0.138 275.2);
Tailwind
colors: {
custom: {
50: '#7067a7',
500: '#2b2e82',
950: '#000000',
},
}SCSS
$custom: #2b2e82; $custom-light: #7067a7; $custom-dark: #000000;
JSON
{
"hex": "#2b2e82",
"rgb": {
"r": 43,
"g": 46,
"b": 130
},
"hsl": {
"h": 237.931,
"s": 50.289,
"l": 33.922
},
"oklch": {
"l": 0.35518,
"c": 0.13826,
"h": 275.2
},
"luminance": 0.04079
}Semantic roles & 50–950 ramp
primary
#2B2E82
secondary
#B0AD59
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F