#2F2B93#2F2B93
#2F2B93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.164 H 276.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B93 |
|---|---|
| RGB | rgb(47, 43, 147) |
| HSL | hsl(242, 55%, 37%) |
| HSV | hsv(242, 71%, 58%) |
| CMYK | cmyk(68%, 70.7%, 0%, 42.4%) |
| CIE-LAB | lab(25.07, 35.52, -56.48) |
| CIE-LCH | lch(25.07, 66.72, 302.17°) |
| OKLab | oklab(36.9% 0.0183 -0.1631) |
| OKLCH | oklch(36.9% 0.164 276.4) |
| XYZ | xyz(7.3009, 4.4380, 28.0700) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.06
Sapphire (survey)
#2138AB
ΔE00 5.11
Indigo Blue
#3A18B1
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.39
Blueberry
#464196
ΔE00 6.58
Midnight Blue
#191970
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B93 #8F932B
analogous
#2B5B93 #2F2B93 #632B93
triadic
#2F2B93 #932F2B #2B932F
tetradic
#2F2B93 #932B5B #8F932B #2B9363
square
#2F2B93 #932B5B #8F932B #2B9363
split-complementary
#2F2B93 #93632B #5B932B
monochromatic
#110F34 #201D64 #2F2B93 #3E39C2 #6A66D2
Accessibility & contrast
On white
11.12
#2F2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F2B93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B93
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B93 | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f2b93; /* rgb */ color: rgb(47, 43, 147); /* oklch */ color: oklch(36.9% 0.164 276.4);
Tailwind
colors: {
custom: {
50: '#7665b4',
500: '#2f2b93',
950: '#000000',
},
}SCSS
$custom: #2f2b93; $custom-light: #7665b4; $custom-dark: #000000;
JSON
{
"hex": "#2f2b93",
"rgb": {
"r": 47,
"g": 43,
"b": 147
},
"hsl": {
"h": 242.308,
"s": 54.737,
"l": 37.255
},
"oklch": {
"l": 0.36903,
"c": 0.16411,
"h": 276.4
},
"luminance": 0.04439
}Semantic roles & 50–950 ramp
primary
#2F2B93
secondary
#B5B961
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80