#2D2D91#2D2D91
#2D2D91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.160 H 275.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D91 |
|---|---|
| RGB | rgb(45, 45, 145) |
| HSL | hsl(240, 53%, 37%) |
| HSV | hsv(240, 69%, 57%) |
| CMYK | cmyk(69%, 69%, 0%, 43.1%) |
| CIE-LAB | lab(25.19, 33.31, -55.05) |
| CIE-LCH | lch(25.19, 64.34, 301.18°) |
| OKLab | oklab(36.9% 0.0146 -0.1589) |
| OKLCH | oklch(36.9% 0.16 275.2) |
| XYZ | xyz(7.1297, 4.4784, 27.2712) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.83
Royal
#0C1793
ΔE00 5.53
Darkslateblue
#483D8B
ΔE00 6.07
Blueberry
#464196
ΔE00 6.21
Indigo Blue
#3A18B1
ΔE00 6.71
Midnight Blue
#191970
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D91 #91912D
analogous
#2D5F91 #2D2D91 #5F2D91
triadic
#2D2D91 #912D2D #2D912D
tetradic
#2D2D91 #912D5F #91912D #2D915F
square
#2D2D91 #912D5F #91912D #2D915F
split-complementary
#2D2D91 #915F2D #5F912D
monochromatic
#101034 #1F1F62 #2D2D91 #3B3BC0 #6868D0
Accessibility & contrast
On white
11.08
#2D2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2D2D91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D91
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D91 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2d2d91; /* rgb */ color: rgb(45, 45, 145); /* oklch */ color: oklch(36.9% 0.160 275.2);
Tailwind
colors: {
custom: {
50: '#7466b2',
500: '#2d2d91',
950: '#000000',
},
}SCSS
$custom: #2d2d91; $custom-light: #7466b2; $custom-dark: #000000;
JSON
{
"hex": "#2d2d91",
"rgb": {
"r": 45,
"g": 45,
"b": 145
},
"hsl": {
"h": 240,
"s": 52.632,
"l": 37.255
},
"oklch": {
"l": 0.36897,
"c": 0.15962,
"h": 275.2
},
"luminance": 0.04479
}Semantic roles & 50–950 ramp
primary
#2D2D91
secondary
#B7B763
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80