#2D2B8E#2D2B8E
#2D2B8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.158 H 276.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2B8E |
|---|---|
| RGB | rgb(45, 43, 142) |
| HSL | hsl(241, 54%, 36%) |
| HSV | hsv(241, 70%, 56%) |
| CMYK | cmyk(68.3%, 69.7%, 0%, 44.3%) |
| CIE-LAB | lab(24.44, 33.52, -54.42) |
| CIE-LCH | lch(24.44, 63.91, 301.63°) |
| OKLab | oklab(36.27% 0.0164 -0.1571) |
| OKLCH | oklch(36.27% 0.158 276) |
| XYZ | xyz(6.8269, 4.2380, 26.0442) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 5.49
Midnight Blue
#191970
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.31
Blueberry
#464196
ΔE00 6.66
Indigo Blue
#3A18B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2B8E #8C8E2B
analogous
#2B5B8E #2D2B8E #5F2B8E
triadic
#2D2B8E #8E2D2B #2B8E2D
tetradic
#2D2B8E #8E2B5B #8C8E2B #2B8E5F
square
#2D2B8E #8E2B5B #8C8E2B #2B8E5F
split-complementary
#2D2B8E #8E5F2B #5B8E2B
monochromatic
#0F0F30 #1E1D5F #2D2B8E #3C39BD #6663D0
Accessibility & contrast
On white
11.36
#2D2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2D2B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2B8E
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2B8E | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2d2b8e; /* rgb */ color: rgb(45, 43, 142); /* oklch */ color: oklch(36.3% 0.158 276.0);
Tailwind
colors: {
custom: {
50: '#7465b0',
500: '#2d2b8e',
950: '#000000',
},
}SCSS
$custom: #2d2b8e; $custom-light: #7465b0; $custom-dark: #000000;
JSON
{
"hex": "#2d2b8e",
"rgb": {
"r": 45,
"g": 43,
"b": 142
},
"hsl": {
"h": 241.212,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.36268,
"c": 0.15798,
"h": 276
},
"luminance": 0.04239
}Semantic roles & 50–950 ramp
primary
#2D2B8E
secondary
#B4B65F
accent
#DD4BDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090511
muted
#7B7A80