#2D2E8B#2D2E8B
#2D2E8B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.150 H 275.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2E8B |
|---|---|
| RGB | rgb(45, 46, 139) |
| HSL | hsl(239, 51%, 36%) |
| HSV | hsv(239, 68%, 55%) |
| CMYK | cmyk(67.6%, 66.9%, 0%, 45.5%) |
| CIE-LAB | lab(24.88, 30.54, -51.85) |
| CIE-LCH | lch(24.88, 60.18, 300.50°) |
| OKLab | oklab(36.49% 0.0145 -0.1496) |
| OKLCH | oklch(36.49% 0.15 275.5) |
| XYZ | xyz(6.7179, 4.3754, 24.9116) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 5.68
Blueberry
#464196
ΔE00 6.04
Royal
#0C1793
ΔE00 6.08
Midnight Blue
#191970
ΔE00 6.49
Indigo Blue
#3A18B1
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2E8B #8B8A2D
analogous
#2D5D8B #2D2E8B #5B2D8B
triadic
#2D2E8B #8B2D2E #2E8B2D
tetradic
#2D2E8B #8B2D5D #8B8A2D #2D8B5B
square
#2D2E8B #8B2D5D #8B8A2D #2D8B5B
split-complementary
#2D2E8B #8B5B2D #5D8B2D
monochromatic
#0F0F2F #1E1F5D #2D2E8B #3C3DB9 #6566CD
Accessibility & contrast
On white
11.20
#2D2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2D2E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2E8B
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2E8B | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d2e8b; /* rgb */ color: rgb(45, 46, 139); /* oklch */ color: oklch(36.5% 0.150 275.5);
Tailwind
colors: {
custom: {
50: '#7367ae',
500: '#2d2e8b',
950: '#000000',
},
}SCSS
$custom: #2d2e8b; $custom-light: #7367ae; $custom-dark: #000000;
JSON
{
"hex": "#2d2e8b",
"rgb": {
"r": 45,
"g": 46,
"b": 139
},
"hsl": {
"h": 239.362,
"s": 51.087,
"l": 36.078
},
"oklch": {
"l": 0.36495,
"c": 0.15028,
"h": 275.5
},
"luminance": 0.04376
}Semantic roles & 50–950 ramp
primary
#2D2E8B
secondary
#B4B360
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F