#2D2D78#2D2D78
#2D2D78 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.125 H 277.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D78 |
|---|---|
| RGB | rgb(45, 45, 120) |
| HSL | hsl(240, 45%, 32%) |
| HSV | hsv(240, 63%, 47%) |
| CMYK | cmyk(62.5%, 62.5%, 0%, 52.9%) |
| CIE-LAB | lab(22.97, 24.37, -43.01) |
| CIE-LCH | lch(22.97, 49.44, 299.54°) |
| OKLab | oklab(34.58% 0.0166 -0.1236) |
| OKLCH | oklch(34.58% 0.125 277.7) |
| XYZ | xyz(5.4097, 3.7903, 18.2122) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 6.04
Blueberry
#464196
ΔE00 7.22
Royal
#0C1793
ΔE00 7.78
Marine
#042E60
ΔE00 7.82
Sapphire (survey)
#2138AB
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D78 #78782D
analogous
#2D5378 #2D2D78 #532D78
triadic
#2D2D78 #782D2D #2D782D
tetradic
#2D2D78 #782D53 #78782D #2D7853
square
#2D2D78 #782D53 #78782D #2D7853
split-complementary
#2D2D78 #78532D #53782D
monochromatic
#0C0C1F #1C1C4B #2D2D78 #3E3EA5 #5D5DC2
Accessibility & contrast
On white
11.94
#2D2D78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2D2D78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D78
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D78 | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2d2d78; /* rgb */ color: rgb(45, 45, 120); /* oklch */ color: oklch(34.6% 0.125 277.7);
Tailwind
colors: {
custom: {
50: '#6f66a0',
500: '#2d2d78',
950: '#000000',
},
}SCSS
$custom: #2d2d78; $custom-light: #6f66a0; $custom-dark: #000000;
JSON
{
"hex": "#2d2d78",
"rgb": {
"r": 45,
"g": 45,
"b": 120
},
"hsl": {
"h": 240,
"s": 45.455,
"l": 32.353
},
"oklch": {
"l": 0.34581,
"c": 0.12476,
"h": 277.7
},
"luminance": 0.03791
}Semantic roles & 50–950 ramp
primary
#2D2D78
secondary
#A9A958
accent
#D553D5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E