#2B2E7B#2B2E7B
#2B2E7B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.128 H 275.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E7B |
|---|---|
| RGB | rgb(43, 46, 123) |
| HSL | hsl(238, 48%, 33%) |
| HSV | hsv(238, 65%, 48%) |
| CMYK | cmyk(65%, 62.6%, 0%, 51.8%) |
| CIE-LAB | lab(23.33, 24.43, -44.34) |
| CIE-LCH | lch(23.33, 50.62, 298.85°) |
| OKLab | oklab(34.89% 0.013 -0.1276) |
| OKLCH | oklch(34.89% 0.128 275.8) |
| XYZ | xyz(5.5472, 3.8972, 19.1950) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 5.97
Blueberry
#464196
ΔE00 6.93
Sapphire (survey)
#2138AB
ΔE00 7.54
Marine
#042E60
ΔE00 7.59
Royal
#0C1793
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E7B #7B782B
analogous
#2B567B #2B2E7B #502B7B
triadic
#2B2E7B #7B2B2E #2E7B2B
tetradic
#2B2E7B #7B2B56 #7B782B #2B7B50
square
#2B2E7B #7B2B56 #7B782B #2B7B50
split-complementary
#2B2E7B #7B502B #567B2B
monochromatic
#0B0C20 #1B1D4E #2B2E7B #3B3FA8 #5B5FC6
Accessibility & contrast
On white
11.80
#2B2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2B2E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E7B
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E7B | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2b2e7b; /* rgb */ color: rgb(43, 46, 123); /* oklch */ color: oklch(34.9% 0.128 275.8);
Tailwind
colors: {
custom: {
50: '#6e66a2',
500: '#2b2e7b',
950: '#000000',
},
}SCSS
$custom: #2b2e7b; $custom-light: #6e66a2; $custom-dark: #000000;
JSON
{
"hex": "#2b2e7b",
"rgb": {
"r": 43,
"g": 46,
"b": 123
},
"hsl": {
"h": 237.75,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.34888,
"c": 0.12825,
"h": 275.8
},
"luminance": 0.03898
}Semantic roles & 50–950 ramp
primary
#2B2E7B
secondary
#ABA856
accent
#D350D8
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F