#2F2C91#2F2C91
#2F2C91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.160 H 276.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C91 |
|---|---|
| RGB | rgb(47, 44, 145) |
| HSL | hsl(242, 53%, 37%) |
| HSV | hsv(242, 70%, 57%) |
| CMYK | cmyk(67.6%, 69.7%, 0%, 43.1%) |
| CIE-LAB | lab(25.10, 34.21, -55.19) |
| CIE-LCH | lch(25.10, 64.93, 301.79°) |
| OKLab | oklab(36.87% 0.0179 -0.1593) |
| OKLCH | oklch(36.87% 0.16 276.4) |
| XYZ | xyz(7.1821, 4.4494, 27.2629) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.11
Royal
#0C1793
ΔE00 5.34
Darkslateblue
#483D8B
ΔE00 6.11
Blueberry
#464196
ΔE00 6.34
Indigo Blue
#3A18B1
ΔE00 6.40
Midnight Blue
#191970
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C91 #8E912C
analogous
#2C5C91 #2F2C91 #622C91
triadic
#2F2C91 #912F2C #2C912F
tetradic
#2F2C91 #912C5C #8E912C #2C9162
square
#2F2C91 #912C5C #8E912C #2C9162
split-complementary
#2F2C91 #91622C #5C912C
monochromatic
#111033 #201E62 #2F2C91 #3E3AC0 #6A67D1
Accessibility & contrast
On white
11.11
#2F2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F2C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C91
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C91 | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2c91; /* rgb */ color: rgb(47, 44, 145); /* oklch */ color: oklch(36.9% 0.160 276.4);
Tailwind
colors: {
custom: {
50: '#7566b2',
500: '#2f2c91',
950: '#000000',
},
}SCSS
$custom: #2f2c91; $custom-light: #7566b2; $custom-dark: #000000;
JSON
{
"hex": "#2f2c91",
"rgb": {
"r": 47,
"g": 44,
"b": 145
},
"hsl": {
"h": 241.782,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.3687,
"c": 0.16031,
"h": 276.4
},
"luminance": 0.0445
}Semantic roles & 50–950 ramp
primary
#2F2C91
secondary
#B5B762
accent
#DD4BD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80