#2F47FE#2F47FE
#2F47FE is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 52.0% C 0.266 H 268.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47FE |
|---|---|
| RGB | rgb(47, 71, 254) |
| HSL | hsl(233, 99%, 59%) |
| HSV | hsv(233, 81%, 100%) |
| CMYK | cmyk(81.5%, 72%, 0%, 0.4%) |
| CIE-LAB | lab(41.63, 55.33, -91.74) |
| CIE-LCH | lch(41.63, 107.13, 301.09°) |
| OKLab | oklab(51.97% -0.0091 -0.2659) |
| OKLCH | oklch(51.97% 0.266 268.1) |
| XYZ | xyz(21.3087, 12.2640, 94.9908) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Electric Blue
#0652FF
ΔE00 3.37
Vibrant Blue
#0339F8
ΔE00 3.90
Purpleish Blue
#6140EF
ΔE00 4.77
Blue (survey)
#0343DF
ΔE00 5.07
Light Royal Blue
#3A2EFE
ΔE00 5.10
Vivid Blue
#152EFF
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47FE #FEE62F
analogous
#2FAFFE #2F47FE #7E2FFE
triadic
#2F47FE #FE2F47 #47FE2F
tetradic
#2F47FE #FE2FAF #FEE62F #2FFE7E
square
#2F47FE #FE2FAF #FEE62F #2FFE7E
split-complementary
#2F47FE #FE7E2F #AFFE2F
monochromatic
#0115B2 #011DEF #2F47FE #6C7DFE #A9B3FF
Accessibility & contrast
On white
6.08
#2F47FE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2F47FE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F47FE
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47FE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47FE | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0058FB
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f47fe; /* rgb */ color: rgb(47, 71, 254); /* oklch */ color: oklch(52.0% 0.266 268.1);
Tailwind
colors: {
custom: {
50: '#8c7bff',
500: '#2f47fe',
950: '#000000',
},
}SCSS
$custom: #2f47fe; $custom-light: #8c7bff; $custom-dark: #000000;
JSON
{
"hex": "#2f47fe",
"rgb": {
"r": 47,
"g": 71,
"b": 254
},
"hsl": {
"h": 233.043,
"s": 99.043,
"l": 59.02
},
"oklch": {
"l": 0.51965,
"c": 0.26604,
"h": 268.1
},
"luminance": 0.12267
}Semantic roles & 50–950 ramp
primary
#2F47FE
secondary
#EDE49C
accent
#E629FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0F0918
muted
#7E7B86