#2F22B3#2F22B3
#2F22B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.1% C 0.212 H 274.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F22B3 |
|---|---|
| RGB | rgb(47, 34, 179) |
| HSL | hsl(245, 68%, 42%) |
| HSV | hsv(245, 81%, 70%) |
| CMYK | cmyk(73.7%, 81%, 0%, 29.8%) |
| CIE-LAB | lab(26.74, 50.85, -73.14) |
| CIE-LCH | lch(26.74, 89.08, 304.81°) |
| OKLab | oklab(39.09% 0.0161 -0.2115) |
| OKLCH | oklch(39.09% 0.212 274.3) |
| XYZ | xyz(9.8783, 5.0021, 43.0840) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.02
True Blue
#010FCC
ΔE00 3.73
Ultramarine
#2000B1
ΔE00 4.41
Mediumblue
#0000CD
ΔE00 4.48
Cobalt Blue
#030AA7
ΔE00 4.86
Ultramarine Blue
#1805DB
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F22B3 #A6B322
analogous
#225EB3 #2F22B3 #7822B3
triadic
#2F22B3 #B32F22 #22B32F
tetradic
#2F22B3 #B3225E #A6B322 #22B378
square
#2F22B3 #B3225E #A6B322 #22B378
split-complementary
#2F22B3 #B37822 #5EB322
monochromatic
#140E4C #211880 #2F22B3 #4739D9 #776CE3
Accessibility & contrast
On white
10.50
#2F22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F22B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F22B3
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F22B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F22B3 | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f22b3; /* rgb */ color: rgb(47, 34, 179); /* oklch */ color: oklch(39.1% 0.212 274.3);
Tailwind
colors: {
custom: {
50: '#7e61cb',
500: '#2f22b3',
950: '#000000',
},
}SCSS
$custom: #2f22b3; $custom-light: #7e61cb; $custom-dark: #000000;
JSON
{
"hex": "#2f22b3",
"rgb": {
"r": 47,
"g": 34,
"b": 179
},
"hsl": {
"h": 245.379,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.39093,
"c": 0.21213,
"h": 274.3
},
"luminance": 0.05003
}Semantic roles & 50–950 ramp
primary
#2F22B3
secondary
#C1C968
accent
#EB3DDB
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982