#2D2D9C#2D2D9C
#2D2D9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.174 H 274.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D9C |
|---|---|
| RGB | rgb(45, 45, 156) |
| HSL | hsl(240, 55%, 39%) |
| HSV | hsv(240, 71%, 61%) |
| CMYK | cmyk(71.2%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.26, 37.16, -60.05) |
| CIE-LCH | lch(26.26, 70.62, 301.75°) |
| OKLab | oklab(37.99% 0.0131 -0.1736) |
| OKLCH | oklch(37.99% 0.174 274.3) |
| XYZ | xyz(8.0193, 4.8342, 31.9565) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.91
Royal
#0C1793
ΔE00 5.49
Indigo Blue
#3A18B1
ΔE00 5.50
Blueberry
#464196
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.68
Cobalt Blue
#030AA7
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D9C #9C9C2D
analogous
#2D659C #2D2D9C #652D9C
triadic
#2D2D9C #9C2D2D #2D9C2D
tetradic
#2D2D9C #9C2D65 #9C9C2D #2D9C65
square
#2D2D9C #9C2D65 #9C9C2D #2D9C65
split-complementary
#2D2D9C #9C652D #659C2D
monochromatic
#12123D #1F1F6D #2D2D9C #3F3FC8 #6E6ED5
Accessibility & contrast
On white
10.68
#2D2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2D2D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D9C
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D9C | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2d2d9c; /* rgb */ color: rgb(45, 45, 156); /* oklch */ color: oklch(38.0% 0.174 274.3);
Tailwind
colors: {
custom: {
50: '#7767ba',
500: '#2d2d9c',
950: '#000000',
},
}SCSS
$custom: #2d2d9c; $custom-light: #7767ba; $custom-dark: #000000;
JSON
{
"hex": "#2d2d9c",
"rgb": {
"r": 45,
"g": 45,
"b": 156
},
"hsl": {
"h": 240,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.37987,
"c": 0.17408,
"h": 274.3
},
"luminance": 0.04835
}Semantic roles & 50–950 ramp
primary
#2D2D9C
secondary
#BCBC68
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81