#2F2FE2#2F2FE2
#2F2FE2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.9% C 0.255 H 270.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FE2 |
|---|---|
| RGB | rgb(47, 47, 226) |
| HSL | hsl(240, 76%, 54%) |
| HSV | hsv(240, 79%, 89%) |
| CMYK | cmyk(79.2%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(34.24, 58.99, -88.15) |
| CIE-LCH | lch(34.24, 106.07, 303.79°) |
| OKLab | oklab(45.87% 0.0017 -0.2552) |
| OKLCH | oklch(45.87% 0.255 270.4) |
| XYZ | xyz(15.9116, 8.1265, 72.6667) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.15
Rich Blue
#021BF9
ΔE00 3.23
Vibrant Blue
#0339F8
ΔE00 3.57
Light Royal Blue
#3A2EFE
ΔE00 3.72
Blurple
#5539CC
ΔE00 4.35
Strong Blue
#0C06F7
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FE2 #E2E22F
analogous
#2F88E2 #2F2FE2 #882FE2
triadic
#2F2FE2 #E22F2F #2FE22F
tetradic
#2F2FE2 #E22F88 #E2E22F #2FE288
square
#2F2FE2 #E22F88 #E2E22F #2FE288
split-complementary
#2F2FE2 #E2882F #88E22F
monochromatic
#121284 #1A1ABA #2F2FE2 #6565E9 #9A9AF1
Accessibility & contrast
On white
8.00
#2F2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2F2FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FE2
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FE2 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f2fe2; /* rgb */ color: rgb(47, 47, 226); /* oklch */ color: oklch(45.9% 0.255 270.4);
Tailwind
colors: {
custom: {
50: '#886ced',
500: '#2f2fe2',
950: '#000000',
},
}SCSS
$custom: #2f2fe2; $custom-light: #886ced; $custom-dark: #000000;
JSON
{
"hex": "#2f2fe2",
"rgb": {
"r": 47,
"g": 47,
"b": 226
},
"hsl": {
"h": 240,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.45871,
"c": 0.25524,
"h": 270.4
},
"luminance": 0.08128
}Semantic roles & 50–950 ramp
primary
#2F2FE2
secondary
#DDDD90
accent
#F236F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85