#2F22B1#2F22B1
#2F22B1 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.9% C 0.210 H 274.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F22B1 |
|---|---|
| RGB | rgb(47, 34, 177) |
| HSL | hsl(245, 68%, 41%) |
| HSV | hsv(245, 81%, 69%) |
| CMYK | cmyk(73.4%, 80.8%, 0%, 30.6%) |
| CIE-LAB | lab(26.51, 50.24, -72.32) |
| CIE-LCH | lch(26.51, 88.06, 304.79°) |
| OKLab | oklab(38.87% 0.0166 -0.2092) |
| OKLCH | oklch(38.87% 0.21 274.5) |
| XYZ | xyz(9.6775, 4.9217, 42.0264) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.01
True Blue
#010FCC
ΔE00 3.91
Ultramarine
#2000B1
ΔE00 4.36
Mediumblue
#0000CD
ΔE00 4.62
Cobalt Blue
#030AA7
ΔE00 4.74
Royal Blue (survey)
#0504AA
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F22B1 #A4B122
analogous
#225CB1 #2F22B1 #7722B1
triadic
#2F22B1 #B12F22 #22B12F
tetradic
#2F22B1 #B1225C #A4B122 #22B177
square
#2F22B1 #B1225C #A4B122 #22B177
split-complementary
#2F22B1 #B17722 #5CB122
monochromatic
#140E4A #21187E #2F22B1 #4638D9 #766BE3
Accessibility & contrast
On white
10.58
#2F22B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2F22B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F22B1
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F22B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F22B1 | 1.00 | 10.58 | 1.98 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f22b1; /* rgb */ color: rgb(47, 34, 177); /* oklch */ color: oklch(38.9% 0.210 274.5);
Tailwind
colors: {
custom: {
50: '#7d61ca',
500: '#2f22b1',
950: '#000000',
},
}SCSS
$custom: #2f22b1; $custom-light: #7d61ca; $custom-dark: #000000;
JSON
{
"hex": "#2f22b1",
"rgb": {
"r": 47,
"g": 34,
"b": 177
},
"hsl": {
"h": 245.455,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.38867,
"c": 0.20982,
"h": 274.5
},
"luminance": 0.04923
}Semantic roles & 50–950 ramp
primary
#2F22B1
secondary
#C0C966
accent
#EB3DDB
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982