#2F2FE3#2F2FE3
#2F2FE3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 46.0% C 0.256 H 270.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FE3 |
|---|---|
| RGB | rgb(47, 47, 227) |
| HSL | hsl(240, 76%, 54%) |
| HSV | hsv(240, 79%, 89%) |
| CMYK | cmyk(79.3%, 79.3%, 0%, 11%) |
| CIE-LAB | lab(34.36, 59.30, -88.53) |
| CIE-LCH | lch(34.36, 106.56, 303.81°) |
| OKLab | oklab(45.98% 0.0015 -0.2563) |
| OKLCH | oklch(45.98% 0.256 270.3) |
| XYZ | xyz(16.0492, 8.1816, 73.3915) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.03
Rich Blue
#021BF9
ΔE00 3.18
Vibrant Blue
#0339F8
ΔE00 3.48
Light Royal Blue
#3A2EFE
ΔE00 3.60
Blurple
#5539CC
ΔE00 4.37
Strong Blue
#0C06F7
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FE3 #E3E32F
analogous
#2F89E3 #2F2FE3 #892FE3
triadic
#2F2FE3 #E32F2F #2FE32F
tetradic
#2F2FE3 #E32F89 #E3E32F #2FE389
square
#2F2FE3 #E32F89 #E3E32F #2FE389
split-complementary
#2F2FE3 #E3892F #89E32F
monochromatic
#121286 #1919BC #2F2FE3 #6565EA #9B9BF2
Accessibility & contrast
On white
7.96
#2F2FE3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2F2FE3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FE3
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FE3 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#0047E0
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f2fe3; /* rgb */ color: rgb(47, 47, 227); /* oklch */ color: oklch(46.0% 0.256 270.3);
Tailwind
colors: {
custom: {
50: '#886ced',
500: '#2f2fe3',
950: '#000000',
},
}SCSS
$custom: #2f2fe3; $custom-light: #886ced; $custom-dark: #000000;
JSON
{
"hex": "#2f2fe3",
"rgb": {
"r": 47,
"g": 47,
"b": 227
},
"hsl": {
"h": 240,
"s": 76.271,
"l": 53.725
},
"oklch": {
"l": 0.45982,
"c": 0.25634,
"h": 270.3
},
"luminance": 0.08183
}Semantic roles & 50–950 ramp
primary
#2F2FE3
secondary
#DDDD90
accent
#F335F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85