#2F2B95#2F2B95
#2F2B95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.167 H 276.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B95 |
|---|---|
| RGB | rgb(47, 43, 149) |
| HSL | hsl(242, 55%, 38%) |
| HSV | hsv(242, 71%, 58%) |
| CMYK | cmyk(68.5%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.26, 36.21, -57.39) |
| CIE-LCH | lch(25.26, 67.86, 302.25°) |
| OKLab | oklab(37.1% 0.018 -0.1658) |
| OKLCH | oklch(37.1% 0.167 276.2) |
| XYZ | xyz(7.4592, 4.5014, 28.9037) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.94
Royal
#0C1793
ΔE00 5.03
Indigo Blue
#3A18B1
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 6.49
Blueberry
#464196
ΔE00 6.60
Cobalt Blue
#030AA7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B95 #91952B
analogous
#2B5C95 #2F2B95 #642B95
triadic
#2F2B95 #952F2B #2B952F
tetradic
#2F2B95 #952B5C #91952B #2B9564
square
#2F2B95 #952B5C #91952B #2B9564
split-complementary
#2F2B95 #95642B #5C952B
monochromatic
#111036 #201D66 #2F2B95 #3E39C4 #6B67D3
Accessibility & contrast
On white
11.05
#2F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F2B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B95
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B95 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2b95; /* rgb */ color: rgb(47, 43, 149); /* oklch */ color: oklch(37.1% 0.167 276.2);
Tailwind
colors: {
custom: {
50: '#7665b5',
500: '#2f2b95',
950: '#000000',
},
}SCSS
$custom: #2f2b95; $custom-light: #7665b5; $custom-dark: #000000;
JSON
{
"hex": "#2f2b95",
"rgb": {
"r": 47,
"g": 43,
"b": 149
},
"hsl": {
"h": 242.264,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.37102,
"c": 0.16673,
"h": 276.2
},
"luminance": 0.04502
}Semantic roles & 50–950 ramp
primary
#2F2B95
secondary
#B6BA62
accent
#DF49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80