#2F36E2#2F36E2
#2F36E2 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.249 H 270.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F36E2 |
|---|---|
| RGB | rgb(47, 54, 226) |
| HSL | hsl(238, 76%, 54%) |
| HSV | hsv(238, 79%, 89%) |
| CMYK | cmyk(79.2%, 76.1%, 0%, 11.4%) |
| CIE-LAB | lab(35.46, 55.48, -86.13) |
| CIE-LCH | lch(35.46, 102.45, 302.79°) |
| OKLab | oklab(46.73% -0.0001 -0.2495) |
| OKLCH | oklch(46.73% 0.249 270) |
| XYZ | xyz(16.2142, 8.7318, 72.7676) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vibrant Blue
#0339F8
ΔE00 2.68
Vivid Blue
#152EFF
ΔE00 3.11
Light Royal Blue
#3A2EFE
ΔE00 3.64
Blue (survey)
#0343DF
ΔE00 3.92
Blurple
#5539CC
ΔE00 4.13
Rich Blue
#021BF9
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F36E2 #E2DB2F
analogous
#2F8FE2 #2F36E2 #822FE2
triadic
#2F36E2 #E22F36 #36E22F
tetradic
#2F36E2 #E22F8F #E2DB2F #2FE282
square
#2F36E2 #E22F8F #E2DB2F #2FE282
split-complementary
#2F36E2 #E2822F #8FE22F
monochromatic
#121784 #1A20BA #2F36E2 #656AE9 #9A9EF1
Accessibility & contrast
On white
7.65
#2F36E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2F36E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F36E2
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F36E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F36E2 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CE7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f36e2; /* rgb */ color: rgb(47, 54, 226); /* oklch */ color: oklch(46.7% 0.249 270.0);
Tailwind
colors: {
custom: {
50: '#8770ed',
500: '#2f36e2',
950: '#000000',
},
}SCSS
$custom: #2f36e2; $custom-light: #8770ed; $custom-dark: #000000;
JSON
{
"hex": "#2f36e2",
"rgb": {
"r": 47,
"g": 54,
"b": 226
},
"hsl": {
"h": 237.654,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.46725,
"c": 0.24948,
"h": 270
},
"luminance": 0.08734
}Semantic roles & 50–950 ramp
primary
#2F36E2
secondary
#DDDA90
accent
#EB36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0817
muted
#7E7B85