#2F30E2#2F30E2
#2F30E2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 46.0% C 0.254 H 270.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F30E2 |
|---|---|
| RGB | rgb(47, 48, 226) |
| HSL | hsl(240, 76%, 54%) |
| HSV | hsv(240, 79%, 89%) |
| CMYK | cmyk(79.2%, 78.8%, 0%, 11.4%) |
| CIE-LAB | lab(34.41, 58.51, -87.87) |
| CIE-LCH | lch(34.41, 105.57, 303.66°) |
| OKLab | oklab(45.99% 0.0015 -0.2544) |
| OKLCH | oklch(45.99% 0.254 270.3) |
| XYZ | xyz(15.9520, 8.2074, 72.6802) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.10
Rich Blue
#021BF9
ΔE00 3.37
Vibrant Blue
#0339F8
ΔE00 3.43
Light Royal Blue
#3A2EFE
ΔE00 3.67
Blurple
#5539CC
ΔE00 4.29
Strong Blue
#0C06F7
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F30E2 #E2E12F
analogous
#2F89E2 #2F30E2 #872FE2
triadic
#2F30E2 #E22F30 #30E22F
tetradic
#2F30E2 #E22F89 #E2E12F #2FE287
square
#2F30E2 #E22F89 #E2E12F #2FE287
split-complementary
#2F30E2 #E2872F #89E22F
monochromatic
#121384 #1A1BBA #2F30E2 #6565E9 #9A9BF1
Accessibility & contrast
On white
7.95
#2F30E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2F30E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F30E2
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F30E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F30E2 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006889
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f30e2; /* rgb */ color: rgb(47, 48, 226); /* oklch */ color: oklch(46.0% 0.254 270.3);
Tailwind
colors: {
custom: {
50: '#886ced',
500: '#2f30e2',
950: '#000000',
},
}SCSS
$custom: #2f30e2; $custom-light: #886ced; $custom-dark: #000000;
JSON
{
"hex": "#2f30e2",
"rgb": {
"r": 47,
"g": 48,
"b": 226
},
"hsl": {
"h": 239.665,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.45987,
"c": 0.25445,
"h": 270.3
},
"luminance": 0.08209
}Semantic roles & 50–950 ramp
primary
#2F30E2
secondary
#DDDC90
accent
#F136F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85