#2B2B75#2B2B75
#2B2B75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.124 H 277.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B75 |
|---|---|
| RGB | rgb(43, 43, 117) |
| HSL | hsl(240, 46%, 31%) |
| HSV | hsv(240, 63%, 46%) |
| CMYK | cmyk(63.2%, 63.2%, 0%, 54.1%) |
| CIE-LAB | lab(22.04, 24.27, -42.62) |
| CIE-LCH | lch(22.04, 49.05, 299.66°) |
| OKLab | oklab(33.78% 0.0161 -0.1226) |
| OKLCH | oklch(33.78% 0.124 277.5) |
| XYZ | xyz(5.0700, 3.5253, 17.2395) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 6.65
Royal
#0C1793
ΔE00 7.68
Marine
#042E60
ΔE00 7.68
Blueberry
#464196
ΔE00 7.90
Sapphire (survey)
#2138AB
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B75 #75752B
analogous
#2B5075 #2B2B75 #502B75
triadic
#2B2B75 #752B2B #2B752B
tetradic
#2B2B75 #752B50 #75752B #2B7550
square
#2B2B75 #752B50 #75752B #2B7550
split-complementary
#2B2B75 #75502B #50752B
monochromatic
#0A0A1B #1B1B48 #2B2B75 #3B3BA2 #5959C2
Accessibility & contrast
On white
12.32
#2B2B75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2B2B75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B75
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B75 | 1.00 | 12.32 | 1.71 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2b2b75; /* rgb */ color: rgb(43, 43, 117); /* oklch */ color: oklch(33.8% 0.124 277.5);
Tailwind
colors: {
custom: {
50: '#6d649d',
500: '#2b2b75',
950: '#000000',
},
}SCSS
$custom: #2b2b75; $custom-light: #6d649d; $custom-dark: #000000;
JSON
{
"hex": "#2b2b75",
"rgb": {
"r": 43,
"g": 43,
"b": 117
},
"hsl": {
"h": 240,
"s": 46.25,
"l": 31.373
},
"oklch": {
"l": 0.33776,
"c": 0.12363,
"h": 277.5
},
"luminance": 0.03526
}Semantic roles & 50–950 ramp
primary
#2B2B75
secondary
#A7A755
accent
#D652D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E