#2D2D9F#2D2D9F
#2D2D9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.178 H 274.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D9F |
|---|---|
| RGB | rgb(45, 45, 159) |
| HSL | hsl(240, 56%, 40%) |
| HSV | hsv(240, 72%, 62%) |
| CMYK | cmyk(71.7%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(26.55, 38.19, -61.39) |
| CIE-LCH | lch(26.55, 72.30, 301.89°) |
| OKLab | oklab(38.29% 0.0126 -0.1775) |
| OKLCH | oklch(38.29% 0.178 274.1) |
| XYZ | xyz(8.2765, 4.9371, 33.3109) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.74
Indigo Blue
#3A18B1
ΔE00 5.23
Royal
#0C1793
ΔE00 5.57
Blueberry
#464196
ΔE00 6.49
Cobalt Blue
#030AA7
ΔE00 6.70
Darkslateblue
#483D8B
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D9F #9F9F2D
analogous
#2D669F #2D2D9F #662D9F
triadic
#2D2D9F #9F2D2D #2D9F2D
tetradic
#2D2D9F #9F2D66 #9F9F2D #2D9F66
square
#2D2D9F #9F2D66 #9F9F2D #2D9F66
split-complementary
#2D2D9F #9F662D #669F2D
monochromatic
#121240 #20206F #2D2D9F #4040C9 #7070D6
Accessibility & contrast
On white
10.57
#2D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2D2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D9F
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D9F | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d2d9f; /* rgb */ color: rgb(45, 45, 159); /* oklch */ color: oklch(38.3% 0.178 274.1);
Tailwind
colors: {
custom: {
50: '#7767bc',
500: '#2d2d9f',
950: '#000000',
},
}SCSS
$custom: #2d2d9f; $custom-light: #7767bc; $custom-dark: #000000;
JSON
{
"hex": "#2d2d9f",
"rgb": {
"r": 45,
"g": 45,
"b": 159
},
"hsl": {
"h": 240,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.38291,
"c": 0.17795,
"h": 274.1
},
"luminance": 0.04938
}Semantic roles & 50–950 ramp
primary
#2D2D9F
secondary
#BEBE6A
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81