#2D2E9C#2D2E9C
#2D2E9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.173 H 274.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2E9C |
|---|---|
| RGB | rgb(45, 46, 156) |
| HSL | hsl(239, 55%, 39%) |
| HSV | hsv(239, 71%, 61%) |
| CMYK | cmyk(71.2%, 70.5%, 0%, 38.8%) |
| CIE-LAB | lab(26.48, 36.54, -59.69) |
| CIE-LCH | lch(26.48, 69.98, 301.48°) |
| OKLab | oklab(38.15% 0.0124 -0.1725) |
| OKLCH | oklch(38.15% 0.173 274.1) |
| XYZ | xyz(8.0579, 4.9114, 31.9694) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.69
Royal
#0C1793
ΔE00 5.72
Indigo Blue
#3A18B1
ΔE00 5.72
Blueberry
#464196
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2E9C #9C9B2D
analogous
#2D669C #2D2E9C #632D9C
triadic
#2D2E9C #9C2D2E #2E9C2D
tetradic
#2D2E9C #9C2D66 #9C9B2D #2D9C63
square
#2D2E9C #9C2D66 #9C9B2D #2D9C63
split-complementary
#2D2E9C #9C632D #669C2D
monochromatic
#12123D #1F206D #2D2E9C #3F40C8 #6E6FD5
Accessibility & contrast
On white
10.59
#2D2E9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2D2E9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2E9C
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2E9C | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d2e9c; /* rgb */ color: rgb(45, 46, 156); /* oklch */ color: oklch(38.1% 0.173 274.1);
Tailwind
colors: {
custom: {
50: '#7667ba',
500: '#2d2e9c',
950: '#000000',
},
}SCSS
$custom: #2d2e9c; $custom-light: #7667ba; $custom-dark: #000000;
JSON
{
"hex": "#2d2e9c",
"rgb": {
"r": 45,
"g": 46,
"b": 156
},
"hsl": {
"h": 239.459,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.38148,
"c": 0.17297,
"h": 274.1
},
"luminance": 0.04912
}Semantic roles & 50–950 ramp
primary
#2D2E9C
secondary
#BCBC68
accent
#DD49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81