#2F20B3#2F20B3
#2F20B3 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.9% C 0.214 H 274.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F20B3 |
|---|---|
| RGB | rgb(47, 32, 179) |
| HSL | hsl(246, 70%, 41%) |
| HSV | hsv(246, 82%, 70%) |
| CMYK | cmyk(73.7%, 82.1%, 0%, 29.8%) |
| CIE-LAB | lab(26.42, 51.79, -73.67) |
| CIE-LCH | lch(26.42, 90.05, 305.11°) |
| OKLab | oklab(38.87% 0.0168 -0.213) |
| OKLCH | oklch(38.87% 0.214 274.5) |
| XYZ | xyz(9.8228, 4.8910, 43.0655) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.71
True Blue
#010FCC
ΔE00 3.55
Ultramarine
#2000B1
ΔE00 4.05
Mediumblue
#0000CD
ΔE00 4.23
Cobalt Blue
#030AA7
ΔE00 4.58
Royal Blue (survey)
#0504AA
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F20B3 #A4B320
analogous
#205BB3 #2F20B3 #7920B3
triadic
#2F20B3 #B32F20 #20B32F
tetradic
#2F20B3 #B3205B #A4B320 #20B379
square
#2F20B3 #B3205B #A4B320 #20B379
split-complementary
#2F20B3 #B37920 #5BB320
monochromatic
#140D4B #21177F #2F20B3 #4635DB #7669E4
Accessibility & contrast
On white
10.61
#2F20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2F20B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F20B3
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F20B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F20B3 | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f20b3; /* rgb */ color: rgb(47, 32, 179); /* oklch */ color: oklch(38.9% 0.214 274.5);
Tailwind
colors: {
custom: {
50: '#7e60cb',
500: '#2f20b3',
950: '#000000',
},
}SCSS
$custom: #2f20b3; $custom-light: #7e60cb; $custom-dark: #000000;
JSON
{
"hex": "#2f20b3",
"rgb": {
"r": 47,
"g": 32,
"b": 179
},
"hsl": {
"h": 246.122,
"s": 69.668,
"l": 41.373
},
"oklch": {
"l": 0.38873,
"c": 0.21368,
"h": 274.5
},
"luminance": 0.04892
}Semantic roles & 50–950 ramp
primary
#2F20B3
secondary
#C0CA65
accent
#EC3BDA
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982