#2B2D7B#2B2D7B
#2B2D7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.130 H 276.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2D7B |
|---|---|
| RGB | rgb(43, 45, 123) |
| HSL | hsl(239, 48%, 33%) |
| HSV | hsv(239, 65%, 48%) |
| CMYK | cmyk(65%, 63.4%, 0%, 51.8%) |
| CIE-LAB | lab(23.07, 25.10, -44.76) |
| CIE-LCH | lch(23.07, 51.32, 299.28°) |
| OKLab | oklab(34.7% 0.0139 -0.1288) |
| OKLCH | oklch(34.7% 0.13 276.2) |
| XYZ | xyz(5.5086, 3.8200, 19.1821) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.09
Blueberry
#464196
ΔE00 7.09
Royal
#0C1793
ΔE00 7.35
Sapphire (survey)
#2138AB
ΔE00 7.61
Marine
#042E60
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2D7B #7B792B
analogous
#2B557B #2B2D7B #512B7B
triadic
#2B2D7B #7B2B2D #2D7B2B
tetradic
#2B2D7B #7B2B55 #7B792B #2B7B51
square
#2B2D7B #7B2B55 #7B792B #2B7B51
split-complementary
#2B2D7B #7B512B #557B2B
monochromatic
#0B0C20 #1B1C4E #2B2D7B #3B3EA8 #5B5DC6
Accessibility & contrast
On white
11.90
#2B2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2B2D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2D7B
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2D7B | 1.00 | 11.90 | 1.76 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b2d7b; /* rgb */ color: rgb(43, 45, 123); /* oklch */ color: oklch(34.7% 0.130 276.2);
Tailwind
colors: {
custom: {
50: '#6e66a2',
500: '#2b2d7b',
950: '#000000',
},
}SCSS
$custom: #2b2d7b; $custom-light: #6e66a2; $custom-dark: #000000;
JSON
{
"hex": "#2b2d7b",
"rgb": {
"r": 43,
"g": 45,
"b": 123
},
"hsl": {
"h": 238.5,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.34695,
"c": 0.1296,
"h": 276.2
},
"luminance": 0.0382
}Semantic roles & 50–950 ramp
primary
#2B2D7B
secondary
#ABA956
accent
#D450D8
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F