#2D2E9D#2D2E9D
#2D2E9D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.174 H 274.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2E9D |
|---|---|
| RGB | rgb(45, 46, 157) |
| HSL | hsl(239, 55%, 40%) |
| HSV | hsv(239, 71%, 62%) |
| CMYK | cmyk(71.3%, 70.7%, 0%, 38.4%) |
| CIE-LAB | lab(26.58, 36.89, -60.14) |
| CIE-LCH | lch(26.58, 70.55, 301.53°) |
| OKLab | oklab(38.25% 0.0123 -0.1738) |
| OKLCH | oklch(38.25% 0.174 274) |
| XYZ | xyz(8.1430, 4.9454, 32.4172) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 5.63
Royal
#0C1793
ΔE00 5.74
Blueberry
#464196
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.60
Cobalt Blue
#030AA7
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2E9D #9D9C2D
analogous
#2D669D #2D2E9D #642D9D
triadic
#2D2E9D #9D2D2E #2E9D2D
tetradic
#2D2E9D #9D2D66 #9D9C2D #2D9D64
square
#2D2E9D #9D2D66 #9D9C2D #2D9D64
split-complementary
#2D2E9D #9D642D #669D2D
monochromatic
#12123E #1F206D #2D2E9D #3F40C8 #6F70D6
Accessibility & contrast
On white
10.56
#2D2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2D2E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2E9D
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2E9D | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d2e9d; /* rgb */ color: rgb(45, 46, 157); /* oklch */ color: oklch(38.2% 0.174 274.0);
Tailwind
colors: {
custom: {
50: '#7767bb',
500: '#2d2e9d',
950: '#000000',
},
}SCSS
$custom: #2d2e9d; $custom-light: #7767bb; $custom-dark: #000000;
JSON
{
"hex": "#2d2e9d",
"rgb": {
"r": 45,
"g": 46,
"b": 157
},
"hsl": {
"h": 239.464,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.38248,
"c": 0.17426,
"h": 274
},
"luminance": 0.04946
}Semantic roles & 50–950 ramp
primary
#2D2E9D
secondary
#BDBC69
accent
#DD49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81