#2F1FD2#2F1FD2
#2F1FD2 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.4% C 0.249 H 272.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1FD2 |
|---|---|
| RGB | rgb(47, 31, 210) |
| HSL | hsl(245, 74%, 47%) |
| HSV | hsv(245, 85%, 82%) |
| CMYK | cmyk(77.6%, 85.2%, 0%, 17.6%) |
| CIE-LAB | lab(30.00, 61.25, -85.98) |
| CIE-LCH | lch(30.00, 105.56, 305.46°) |
| OKLab | oklab(42.4% 0.0087 -0.2486) |
| OKLCH | oklch(42.4% 0.249 272) |
| XYZ | xyz(13.2912, 6.2360, 61.4634) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine Blue
#1805DB
ΔE00 2.58
Pure Blue
#0203E2
ΔE00 2.87
True Blue
#010FCC
ΔE00 3.19
Violet Blue
#510AC9
ΔE00 3.74
Strong Blue
#0C06F7
ΔE00 3.91
Mediumblue
#0000CD
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1FD2 #C2D21F
analogous
#1F69D2 #2F1FD2 #881FD2
triadic
#2F1FD2 #D22F1F #1FD22F
tetradic
#2F1FD2 #D21F69 #C2D21F #1FD288
square
#2F1FD2 #D21F69 #C2D21F #1FD288
split-complementary
#2F1FD2 #D2881F #69D21F
monochromatic
#170F67 #23179D #2F1FD2 #584AE4 #897FEC
Accessibility & contrast
On white
9.34
#2F1FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F1FD2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1FD2
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1FD2 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FD7
Deuteranopia (green-blind)
#003ECF
Tritanopia (blue-blind)
#005B7D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f1fd2; /* rgb */ color: rgb(47, 31, 210); /* oklch */ color: oklch(42.4% 0.249 272.0);
Tailwind
colors: {
custom: {
50: '#8562e1',
500: '#2f1fd2',
950: '#000000',
},
}SCSS
$custom: #2f1fd2; $custom-light: #8562e1; $custom-dark: #000000;
JSON
{
"hex": "#2f1fd2",
"rgb": {
"r": 47,
"g": 31,
"b": 210
},
"hsl": {
"h": 245.363,
"s": 74.274,
"l": 47.255
},
"oklch": {
"l": 0.42398,
"c": 0.2488,
"h": 272
},
"luminance": 0.06237
}Semantic roles & 50–950 ramp
primary
#2F1FD2
secondary
#CCD478
accent
#F137E0
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84