#2B2B8E#2B2B8E
#2B2B8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.158 H 275.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B8E |
|---|---|
| RGB | rgb(43, 43, 142) |
| HSL | hsl(240, 54%, 36%) |
| HSV | hsv(240, 70%, 56%) |
| CMYK | cmyk(69.7%, 69.7%, 0%, 44.3%) |
| CIE-LAB | lab(24.30, 33.25, -54.66) |
| CIE-LCH | lch(24.30, 63.98, 301.31°) |
| OKLab | oklab(36.13% 0.0139 -0.1579) |
| OKLCH | oklch(36.13% 0.158 275) |
| XYZ | xyz(6.7410, 4.1937, 26.0402) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.09
Sapphire (survey)
#2138AB
ΔE00 5.41
Midnight Blue
#191970
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.45
Blueberry
#464196
ΔE00 6.76
Indigo Blue
#3A18B1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B8E #8E8E2B
analogous
#2B5D8E #2B2B8E #5D2B8E
triadic
#2B2B8E #8E2B2B #2B8E2B
tetradic
#2B2B8E #8E2B5D #8E8E2B #2B8E5D
square
#2B2B8E #8E2B5D #8E8E2B #2B8E5D
split-complementary
#2B2B8E #8E5D2B #5D8E2B
monochromatic
#0F0F30 #1D1D5F #2B2B8E #3939BD #6363D0
Accessibility & contrast
On white
11.42
#2B2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2B2B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B8E
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B8E | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2b8e; /* rgb */ color: rgb(43, 43, 142); /* oklch */ color: oklch(36.1% 0.158 275.0);
Tailwind
colors: {
custom: {
50: '#7365b0',
500: '#2b2b8e',
950: '#000000',
},
}SCSS
$custom: #2b2b8e; $custom-light: #7365b0; $custom-dark: #000000;
JSON
{
"hex": "#2b2b8e",
"rgb": {
"r": 43,
"g": 43,
"b": 142
},
"hsl": {
"h": 240,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.36129,
"c": 0.15848,
"h": 275
},
"luminance": 0.04194
}Semantic roles & 50–950 ramp
primary
#2B2B8E
secondary
#B6B65F
accent
#DD4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80