#2F22A3#2F22A3
#2F22A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.193 H 276.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F22A3 |
|---|---|
| RGB | rgb(47, 34, 163) |
| HSL | hsl(246, 65%, 39%) |
| HSV | hsv(246, 79%, 64%) |
| CMYK | cmyk(71.2%, 79.1%, 0%, 36.1%) |
| CIE-LAB | lab(24.93, 45.89, -66.51) |
| CIE-LCH | lch(24.93, 80.80, 304.61°) |
| OKLab | oklab(37.3% 0.0202 -0.1923) |
| OKLCH | oklch(37.3% 0.193 276) |
| XYZ | xyz(8.3530, 4.3920, 35.0508) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.81
Royal
#0C1793
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 4.34
Ultramarine
#2000B1
ΔE00 4.55
Royal Blue (survey)
#0504AA
ΔE00 4.73
True Blue
#010FCC
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F22A3 #96A322
analogous
#2255A3 #2F22A3 #6F22A3
triadic
#2F22A3 #A32F22 #22A32F
tetradic
#2F22A3 #A32255 #96A322 #22A36F
square
#2F22A3 #A32255 #96A322 #22A36F
split-complementary
#2F22A3 #A36F22 #55A322
monochromatic
#120D3E #201770 #2F22A3 #3F2FD4 #6E61DE
Accessibility & contrast
On white
11.18
#2F22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2F22A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F22A3
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F22A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F22A3 | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f22a3; /* rgb */ color: rgb(47, 34, 163); /* oklch */ color: oklch(37.3% 0.193 276.0);
Tailwind
colors: {
custom: {
50: '#7a60c0',
500: '#2f22a3',
950: '#000000',
},
}SCSS
$custom: #2f22a3; $custom-light: #7a60c0; $custom-dark: #000000;
JSON
{
"hex": "#2f22a3",
"rgb": {
"r": 47,
"g": 34,
"b": 163
},
"hsl": {
"h": 246.047,
"s": 65.482,
"l": 38.627
},
"oklch": {
"l": 0.373,
"c": 0.19332,
"h": 276
},
"luminance": 0.04393
}Semantic roles & 50–950 ramp
primary
#2F22A3
secondary
#B9C35E
accent
#E83FD7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981