#2F2C93#2F2C93
#2F2C93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.163 H 276.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C93 |
|---|---|
| RGB | rgb(47, 44, 147) |
| HSL | hsl(242, 54%, 37%) |
| HSV | hsv(242, 70%, 58%) |
| CMYK | cmyk(68%, 70.1%, 0%, 42.4%) |
| CIE-LAB | lab(25.30, 34.90, -56.11) |
| CIE-LCH | lch(25.30, 66.08, 301.88°) |
| OKLab | oklab(37.07% 0.0176 -0.162) |
| OKLCH | oklch(37.07% 0.163 276.2) |
| XYZ | xyz(7.3377, 4.5116, 28.0823) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.92
Royal
#0C1793
ΔE00 5.29
Indigo Blue
#3A18B1
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.20
Blueberry
#464196
ΔE00 6.35
Midnight Blue
#191970
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C93 #90932C
analogous
#2C5C93 #2F2C93 #632C93
triadic
#2F2C93 #932F2C #2C932F
tetradic
#2F2C93 #932C5C #90932C #2C9363
square
#2F2C93 #932C5C #90932C #2C9363
split-complementary
#2F2C93 #93632C #5C932C
monochromatic
#111035 #201E64 #2F2C93 #3E3AC2 #6B68D2
Accessibility & contrast
On white
11.04
#2F2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F2C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C93
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C93 | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2c93; /* rgb */ color: rgb(47, 44, 147); /* oklch */ color: oklch(37.1% 0.163 276.2);
Tailwind
colors: {
custom: {
50: '#7566b4',
500: '#2f2c93',
950: '#000000',
},
}SCSS
$custom: #2f2c93; $custom-light: #7566b4; $custom-dark: #000000;
JSON
{
"hex": "#2f2c93",
"rgb": {
"r": 47,
"g": 44,
"b": 147
},
"hsl": {
"h": 241.748,
"s": 53.927,
"l": 37.451
},
"oklch": {
"l": 0.37066,
"c": 0.16296,
"h": 276.2
},
"luminance": 0.04512
}Semantic roles & 50–950 ramp
primary
#2F2C93
secondary
#B6B863
accent
#DD4AD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80