#2D2F79#2D2F79
#2D2F79 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.123 H 276.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2F79 |
|---|---|
| RGB | rgb(45, 47, 121) |
| HSL | hsl(238, 46%, 33%) |
| HSV | hsv(238, 63%, 47%) |
| CMYK | cmyk(62.8%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(23.58, 23.38, -42.66) |
| CIE-LCH | lch(23.58, 48.65, 298.73°) |
| OKLab | oklab(35.06% 0.0146 -0.1226) |
| OKLCH | oklch(35.06% 0.123 276.8) |
| XYZ | xyz(5.5488, 3.9710, 18.5595) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.74
Midnight Blue
#191970
ΔE00 6.22
Blueberry
#464196
ΔE00 6.83
Marine
#042E60
ΔE00 7.53
Sapphire (survey)
#2138AB
ΔE00 7.88
Royal
#0C1793
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2F79 #79772D
analogous
#2D5579 #2D2F79 #512D79
triadic
#2D2F79 #792D2F #2F792D
tetradic
#2D2F79 #792D55 #79772D #2D7951
square
#2D2F79 #792D55 #79772D #2D7951
split-complementary
#2D2F79 #79512D #55792D
monochromatic
#0C0C20 #1C1E4C #2D2F79 #3E40A6 #5D60C3
Accessibility & contrast
On white
11.70
#2D2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2D2F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2F79
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2F79 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2d2f79; /* rgb */ color: rgb(45, 47, 121); /* oklch */ color: oklch(35.1% 0.123 276.8);
Tailwind
colors: {
custom: {
50: '#6f67a0',
500: '#2d2f79',
950: '#000000',
},
}SCSS
$custom: #2d2f79; $custom-light: #6f67a0; $custom-dark: #000000;
JSON
{
"hex": "#2d2f79",
"rgb": {
"r": 45,
"g": 47,
"b": 121
},
"hsl": {
"h": 238.421,
"s": 45.783,
"l": 32.549
},
"oklch": {
"l": 0.35057,
"c": 0.12345,
"h": 276.8
},
"luminance": 0.03971
}Semantic roles & 50–950 ramp
primary
#2D2F79
secondary
#A9A758
accent
#D252D5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E