#2D2D90#2D2D90
#2D2D90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.158 H 275.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D90 |
|---|---|
| RGB | rgb(45, 45, 144) |
| HSL | hsl(240, 52%, 37%) |
| HSV | hsv(240, 69%, 56%) |
| CMYK | cmyk(68.7%, 68.7%, 0%, 43.5%) |
| CIE-LAB | lab(25.10, 32.96, -54.58) |
| CIE-LCH | lch(25.10, 63.76, 301.13°) |
| OKLab | oklab(36.8% 0.0147 -0.1576) |
| OKLCH | oklch(36.8% 0.158 275.3) |
| XYZ | xyz(7.0530, 4.4476, 26.8669) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.94
Royal
#0C1793
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.02
Blueberry
#464196
ΔE00 6.21
Midnight Blue
#191970
ΔE00 6.72
Indigo Blue
#3A18B1
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D90 #90902D
analogous
#2D5F90 #2D2D90 #5F2D90
triadic
#2D2D90 #902D2D #2D902D
tetradic
#2D2D90 #902D5F #90902D #2D905F
square
#2D2D90 #902D5F #90902D #2D905F
split-complementary
#2D2D90 #905F2D #5F902D
monochromatic
#101033 #1E1E61 #2D2D90 #3C3CBF #6868D0
Accessibility & contrast
On white
11.11
#2D2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2D2D90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D90
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D90 | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2d2d90; /* rgb */ color: rgb(45, 45, 144); /* oklch */ color: oklch(36.8% 0.158 275.3);
Tailwind
colors: {
custom: {
50: '#7466b1',
500: '#2d2d90',
950: '#000000',
},
}SCSS
$custom: #2d2d90; $custom-light: #7466b1; $custom-dark: #000000;
JSON
{
"hex": "#2d2d90",
"rgb": {
"r": 45,
"g": 45,
"b": 144
},
"hsl": {
"h": 240,
"s": 52.381,
"l": 37.059
},
"oklch": {
"l": 0.368,
"c": 0.15828,
"h": 275.3
},
"luminance": 0.04448
}Semantic roles & 50–950 ramp
primary
#2D2D90
secondary
#B6B662
accent
#DC4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80