#2D2F7D#2D2F7D
#2D2F7D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.129 H 276.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2F7D |
|---|---|
| RGB | rgb(45, 47, 125) |
| HSL | hsl(239, 47%, 33%) |
| HSV | hsv(239, 64%, 49%) |
| CMYK | cmyk(64%, 62.4%, 0%, 51%) |
| CIE-LAB | lab(23.91, 24.84, -44.66) |
| CIE-LCH | lch(23.91, 51.10, 299.08°) |
| OKLab | oklab(35.4% 0.0145 -0.1285) |
| OKLCH | oklch(35.4% 0.129 276.4) |
| XYZ | xyz(5.7992, 4.0711, 19.8783) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.56
Midnight Blue
#191970
ΔE00 6.17
Blueberry
#464196
ΔE00 6.50
Sapphire (survey)
#2138AB
ΔE00 7.24
Royal
#0C1793
ΔE00 7.65
Marine
#042E60
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2F7D #7D7B2D
analogous
#2D577D #2D2F7D #532D7D
triadic
#2D2F7D #7D2D2F #2F7D2D
tetradic
#2D2F7D #7D2D57 #7D7B2D #2D7D53
square
#2D2F7D #7D2D57 #7D7B2D #2D7D53
split-complementary
#2D2F7D #7D532D #577D2D
monochromatic
#0D0D23 #1D1E50 #2D2F7D #3D40AA #5F62C5
Accessibility & contrast
On white
11.57
#2D2F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2D2F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2F7D
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2F7D | 1.00 | 11.57 | 1.81 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2d2f7d; /* rgb */ color: rgb(45, 47, 125); /* oklch */ color: oklch(35.4% 0.129 276.4);
Tailwind
colors: {
custom: {
50: '#6f67a3',
500: '#2d2f7d',
950: '#000000',
},
}SCSS
$custom: #2d2f7d; $custom-light: #6f67a3; $custom-dark: #000000;
JSON
{
"hex": "#2d2f7d",
"rgb": {
"r": 45,
"g": 47,
"b": 125
},
"hsl": {
"h": 238.5,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.35404,
"c": 0.12927,
"h": 276.4
},
"luminance": 0.04072
}Semantic roles & 50–950 ramp
primary
#2D2F7D
secondary
#ACAA5A
accent
#D351D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F