#2F2D8F#2F2D8F
#2F2D8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.156 H 276.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D8F |
|---|---|
| RGB | rgb(47, 45, 143) |
| HSL | hsl(241, 52%, 37%) |
| HSV | hsv(241, 69%, 56%) |
| CMYK | cmyk(67.1%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(25.15, 32.88, -53.88) |
| CIE-LCH | lch(25.15, 63.12, 301.40°) |
| OKLab | oklab(36.84% 0.0174 -0.1555) |
| OKLCH | oklch(36.84% 0.156 276.4) |
| XYZ | xyz(7.0670, 4.4637, 26.4704) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.14
Royal
#0C1793
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 5.83
Blueberry
#464196
ΔE00 6.11
Midnight Blue
#191970
ΔE00 6.67
Indigo Blue
#3A18B1
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D8F #8D8F2D
analogous
#2D5C8F #2F2D8F #602D8F
triadic
#2F2D8F #8F2F2D #2D8F2F
tetradic
#2F2D8F #8F2D5C #8D8F2D #2D8F60
square
#2F2D8F #8F2D5C #8D8F2D #2D8F60
split-complementary
#2F2D8F #8F602D #5C8F2D
monochromatic
#101032 #201E60 #2F2D8F #3E3CBE #6967CF
Accessibility & contrast
On white
11.09
#2F2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D8F
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D8F | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2d8f; /* rgb */ color: rgb(47, 45, 143); /* oklch */ color: oklch(36.8% 0.156 276.4);
Tailwind
colors: {
custom: {
50: '#7466b1',
500: '#2f2d8f',
950: '#000000',
},
}SCSS
$custom: #2f2d8f; $custom-light: #7466b1; $custom-dark: #000000;
JSON
{
"hex": "#2f2d8f",
"rgb": {
"r": 47,
"g": 45,
"b": 143
},
"hsl": {
"h": 241.224,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.36844,
"c": 0.15645,
"h": 276.4
},
"luminance": 0.04464
}Semantic roles & 50–950 ramp
primary
#2F2D8F
secondary
#B4B662
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80