#2D2F82#2D2F82
#2D2F82 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.136 H 276.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2F82 |
|---|---|
| RGB | rgb(45, 47, 130) |
| HSL | hsl(239, 49%, 34%) |
| HSV | hsv(239, 65%, 51%) |
| CMYK | cmyk(65.4%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(24.33, 26.65, -47.12) |
| CIE-LCH | lch(24.33, 54.13, 299.49°) |
| OKLab | oklab(35.85% 0.0143 -0.1357) |
| OKLCH | oklch(35.85% 0.136 276) |
| XYZ | xyz(6.1267, 4.2021, 21.6030) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.44
Blueberry
#464196
ΔE00 6.18
Midnight Blue
#191970
ΔE00 6.25
Sapphire (survey)
#2138AB
ΔE00 6.48
Royal
#0C1793
ΔE00 7.10
Marine
#042E60
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2F82 #82802D
analogous
#2D5A82 #2D2F82 #562D82
triadic
#2D2F82 #822D2F #2F822D
tetradic
#2D2F82 #822D5A #82802D #2D8256
square
#2D2F82 #822D5A #82802D #2D8256
split-complementary
#2D2F82 #82562D #5A822D
monochromatic
#0E0E27 #1D1F55 #2D2F82 #3D3FAF #6164C8
Accessibility & contrast
On white
11.41
#2D2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2D2F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2F82
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2F82 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2d2f82; /* rgb */ color: rgb(45, 47, 130); /* oklch */ color: oklch(35.8% 0.136 276.0);
Tailwind
colors: {
custom: {
50: '#7067a7',
500: '#2d2f82',
950: '#000000',
},
}SCSS
$custom: #2d2f82; $custom-light: #7067a7; $custom-dark: #000000;
JSON
{
"hex": "#2d2f82",
"rgb": {
"r": 45,
"g": 47,
"b": 130
},
"hsl": {
"h": 238.588,
"s": 48.571,
"l": 34.314
},
"oklch": {
"l": 0.35848,
"c": 0.13644,
"h": 276
},
"luminance": 0.04203
}Semantic roles & 50–950 ramp
primary
#2D2F82
secondary
#AFAD5C
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F