#2F2C96#2F2C96
#2F2C96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.167 H 275.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C96 |
|---|---|
| RGB | rgb(47, 44, 150) |
| HSL | hsl(242, 55%, 38%) |
| HSV | hsv(242, 71%, 59%) |
| CMYK | cmyk(68.7%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.58, 35.94, -57.48) |
| CIE-LCH | lch(25.58, 67.79, 302.02°) |
| OKLab | oklab(37.36% 0.0172 -0.166) |
| OKLCH | oklch(37.36% 0.167 275.9) |
| XYZ | xyz(7.5762, 4.6070, 29.3382) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.66
Royal
#0C1793
ΔE00 5.26
Indigo Blue
#3A18B1
ΔE00 5.80
Darkslateblue
#483D8B
ΔE00 6.36
Blueberry
#464196
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C96 #93962C
analogous
#2C5E96 #2F2C96 #642C96
triadic
#2F2C96 #962F2C #2C962F
tetradic
#2F2C96 #962C5E #93962C #2C9664
square
#2F2C96 #962C5E #93962C #2C9664
split-complementary
#2F2C96 #96642C #5E962C
monochromatic
#111037 #201E67 #2F2C96 #3E3AC5 #6C69D3
Accessibility & contrast
On white
10.93
#2F2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2F2C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C96
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C96 | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2c96; /* rgb */ color: rgb(47, 44, 150); /* oklch */ color: oklch(37.4% 0.167 275.9);
Tailwind
colors: {
custom: {
50: '#7666b6',
500: '#2f2c96',
950: '#000000',
},
}SCSS
$custom: #2f2c96; $custom-light: #7666b6; $custom-dark: #000000;
JSON
{
"hex": "#2f2c96",
"rgb": {
"r": 47,
"g": 44,
"b": 150
},
"hsl": {
"h": 241.698,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.37362,
"c": 0.1669,
"h": 275.9
},
"luminance": 0.04608
}Semantic roles & 50–950 ramp
primary
#2F2C96
secondary
#B7BA64
accent
#DE4ADA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80