#2F5CE2#2F5CE2
#2F5CE2 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 52.8% C 0.210 H 265.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CE2 |
|---|---|
| RGB | rgb(47, 92, 226) |
| HSL | hsl(225, 76%, 54%) |
| HSV | hsv(225, 79%, 89%) |
| CMYK | cmyk(79.2%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(43.87, 32.87, -72.31) |
| CIE-LCH | lch(43.87, 79.42, 294.44°) |
| OKLab | oklab(52.84% -0.0169 -0.2091) |
| OKLCH | oklch(52.84% 0.21 265.4) |
| XYZ | xyz(18.7221, 13.7474, 73.6035) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.32
Warm Blue
#4B57DB
ΔE00 3.55
Electric Blue
#0652FF
ΔE00 4.16
Royal Blue
#4169E1
ΔE00 4.31
Bright Blue
#0165FC
ΔE00 4.38
Denim
#1560BD
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CE2 #E2B52F
analogous
#2FB5E2 #2F5CE2 #5B2FE2
triadic
#2F5CE2 #E22F5C #5CE22F
tetradic
#2F5CE2 #E22FB5 #E2B52F #2FE25B
square
#2F5CE2 #E22FB5 #E2B52F #2FE25B
split-complementary
#2F5CE2 #E25B2F #B5E22F
monochromatic
#122F84 #1A42BA #2F5CE2 #6586E9 #9AB0F1
Accessibility & contrast
On white
5.60
#2F5CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#2F5CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CE2
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CE2 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2f5ce2; /* rgb */ color: rgb(47, 92, 226); /* oklch */ color: oklch(52.8% 0.210 265.4);
Tailwind
colors: {
custom: {
50: '#8489ec',
500: '#2f5ce2',
950: '#000000',
},
}SCSS
$custom: #2f5ce2; $custom-light: #8489ec; $custom-dark: #000000;
JSON
{
"hex": "#2f5ce2",
"rgb": {
"r": 47,
"g": 92,
"b": 226
},
"hsl": {
"h": 224.916,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.52838,
"c": 0.20974,
"h": 265.4
},
"luminance": 0.1375
}Semantic roles & 50–950 ramp
primary
#2F5CE2
secondary
#DDC990
accent
#C336F2
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0B16
muted
#7E7C84