#2F2D8E#2F2D8E
#2F2D8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.155 H 276.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D8E |
|---|---|
| RGB | rgb(47, 45, 142) |
| HSL | hsl(241, 52%, 37%) |
| HSV | hsv(241, 68%, 56%) |
| CMYK | cmyk(66.9%, 68.3%, 0%, 44.3%) |
| CIE-LAB | lab(25.06, 32.54, -53.41) |
| CIE-LCH | lch(25.06, 62.54, 301.35°) |
| OKLab | oklab(36.75% 0.0175 -0.1541) |
| OKLCH | oklch(36.75% 0.155 276.5) |
| XYZ | xyz(6.9916, 4.4335, 26.0732) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.25
Royal
#0C1793
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 5.79
Blueberry
#464196
ΔE00 6.12
Midnight Blue
#191970
ΔE00 6.58
Indigo Blue
#3A18B1
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D8E #8C8E2D
analogous
#2D5C8E #2F2D8E #602D8E
triadic
#2F2D8E #8E2F2D #2D8E2F
tetradic
#2F2D8E #8E2D5C #8C8E2D #2D8E60
square
#2F2D8E #8E2D5C #8C8E2D #2D8E60
split-complementary
#2F2D8E #8E602D #5C8E2D
monochromatic
#101031 #201E60 #2F2D8E #3E3CBC #6967CF
Accessibility & contrast
On white
11.13
#2F2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F2D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D8E
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D8E | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f2d8e; /* rgb */ color: rgb(47, 45, 142); /* oklch */ color: oklch(36.7% 0.155 276.5);
Tailwind
colors: {
custom: {
50: '#7466b0',
500: '#2f2d8e',
950: '#000000',
},
}SCSS
$custom: #2f2d8e; $custom-light: #7466b0; $custom-dark: #000000;
JSON
{
"hex": "#2f2d8e",
"rgb": {
"r": 47,
"g": 45,
"b": 142
},
"hsl": {
"h": 241.237,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.36748,
"c": 0.1551,
"h": 276.5
},
"luminance": 0.04434
}Semantic roles & 50–950 ramp
primary
#2F2D8E
secondary
#B4B561
accent
#DB4CD8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80