#2B2B8D#2B2B8D
#2B2B8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.157 H 275.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B8D |
|---|---|
| RGB | rgb(43, 43, 141) |
| HSL | hsl(240, 53%, 36%) |
| HSV | hsv(240, 70%, 55%) |
| CMYK | cmyk(69.5%, 69.5%, 0%, 44.7%) |
| CIE-LAB | lab(24.21, 32.90, -54.19) |
| CIE-LCH | lch(24.21, 63.40, 301.26°) |
| OKLab | oklab(36.03% 0.014 -0.1565) |
| OKLCH | oklch(36.03% 0.157 275.1) |
| XYZ | xyz(6.6663, 4.1638, 25.6465) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.51
Midnight Blue
#191970
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.42
Blueberry
#464196
ΔE00 6.77
Indigo Blue
#3A18B1
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B8D #8D8D2B
analogous
#2B5C8D #2B2B8D #5C2B8D
triadic
#2B2B8D #8D2B2B #2B8D2B
tetradic
#2B2B8D #8D2B5C #8D8D2B #2B8D5C
square
#2B2B8D #8D2B5C #8D8D2B #2B8D5C
split-complementary
#2B2B8D #8D5C2B #5C8D2B
monochromatic
#0E0E2F #1D1D5E #2B2B8D #3939BC #6363CF
Accessibility & contrast
On white
11.46
#2B2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2B2B8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B8D
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B8D | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2b8d; /* rgb */ color: rgb(43, 43, 141); /* oklch */ color: oklch(36.0% 0.157 275.1);
Tailwind
colors: {
custom: {
50: '#7265af',
500: '#2b2b8d',
950: '#000000',
},
}SCSS
$custom: #2b2b8d; $custom-light: #7265af; $custom-dark: #000000;
JSON
{
"hex": "#2b2b8d",
"rgb": {
"r": 43,
"g": 43,
"b": 141
},
"hsl": {
"h": 240,
"s": 53.261,
"l": 36.078
},
"oklch": {
"l": 0.3603,
"c": 0.15714,
"h": 275.1
},
"luminance": 0.04164
}Semantic roles & 50–950 ramp
primary
#2B2B8D
secondary
#B6B65E
accent
#DD4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F