#2B2E8D#2B2E8D
#2B2E8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.154 H 274.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E8D |
|---|---|
| RGB | rgb(43, 46, 141) |
| HSL | hsl(238, 53%, 36%) |
| HSV | hsv(238, 70%, 55%) |
| CMYK | cmyk(69.5%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(24.92, 30.97, -53.02) |
| CIE-LCH | lch(24.92, 61.41, 300.29°) |
| OKLab | oklab(36.55% 0.0118 -0.1531) |
| OKLCH | oklch(36.55% 0.154 274.4) |
| XYZ | xyz(6.7794, 4.3900, 25.6842) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.91
Royal
#0C1793
ΔE00 5.94
Blueberry
#464196
ΔE00 6.13
Midnight Blue
#191970
ΔE00 6.62
Indigo Blue
#3A18B1
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E8D #8D8A2B
analogous
#2B5F8D #2B2E8D #592B8D
triadic
#2B2E8D #8D2B2E #2E8D2B
tetradic
#2B2E8D #8D2B5F #8D8A2B #2B8D59
square
#2B2E8D #8D2B5F #8D8A2B #2B8D59
split-complementary
#2B2E8D #8D592B #5F8D2B
monochromatic
#0E0F2F #1D1F5E #2B2E8D #393DBC #6366CF
Accessibility & contrast
On white
11.18
#2B2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2B2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E8D
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E8D | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b2e8d; /* rgb */ color: rgb(43, 46, 141); /* oklch */ color: oklch(36.5% 0.154 274.4);
Tailwind
colors: {
custom: {
50: '#7267af',
500: '#2b2e8d',
950: '#000000',
},
}SCSS
$custom: #2b2e8d; $custom-light: #7267af; $custom-dark: #000000;
JSON
{
"hex": "#2b2e8d",
"rgb": {
"r": 43,
"g": 46,
"b": 141
},
"hsl": {
"h": 238.163,
"s": 53.261,
"l": 36.078
},
"oklch": {
"l": 0.36549,
"c": 0.15353,
"h": 274.4
},
"luminance": 0.04391
}Semantic roles & 50–950 ramp
primary
#2B2E8D
secondary
#B6B35E
accent
#D84BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F