#2D2E8D#2D2E8D
#2D2E8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.153 H 275.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2E8D |
|---|---|
| RGB | rgb(45, 46, 141) |
| HSL | hsl(239, 52%, 36%) |
| HSV | hsv(239, 68%, 55%) |
| CMYK | cmyk(68.1%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(25.06, 31.25, -52.79) |
| CIE-LCH | lch(25.06, 61.35, 300.63°) |
| OKLab | oklab(36.69% 0.0143 -0.1524) |
| OKLCH | oklch(36.69% 0.153 275.3) |
| XYZ | xyz(6.8653, 4.4344, 25.6883) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.12
Darkslateblue
#483D8B
ΔE00 5.74
Royal
#0C1793
ΔE00 5.97
Blueberry
#464196
ΔE00 6.01
Midnight Blue
#191970
ΔE00 6.64
Indigo Blue
#3A18B1
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2E8D #8D8C2D
analogous
#2D5E8D #2D2E8D #5C2D8D
triadic
#2D2E8D #8D2D2E #2E8D2D
tetradic
#2D2E8D #8D2D5E #8D8C2D #2D8D5C
square
#2D2E8D #8D2D5E #8D8C2D #2D8D5C
split-complementary
#2D2E8D #8D5C2D #5E8D2D
monochromatic
#0F1030 #1E1F5F #2D2E8D #3C3DBB #6667CE
Accessibility & contrast
On white
11.13
#2D2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2D2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2E8D
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2E8D | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d2e8d; /* rgb */ color: rgb(45, 46, 141); /* oklch */ color: oklch(36.7% 0.153 275.3);
Tailwind
colors: {
custom: {
50: '#7367af',
500: '#2d2e8d',
950: '#000000',
},
}SCSS
$custom: #2d2e8d; $custom-light: #7367af; $custom-dark: #000000;
JSON
{
"hex": "#2d2e8d",
"rgb": {
"r": 45,
"g": 46,
"b": 141
},
"hsl": {
"h": 239.375,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.36685,
"c": 0.15302,
"h": 275.3
},
"luminance": 0.04435
}Semantic roles & 50–950 ramp
primary
#2D2E8D
secondary
#B5B461
accent
#DA4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F