#2F5AE2#2F5AE2
#2F5AE2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.5% C 0.212 H 265.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5AE2 |
|---|---|
| RGB | rgb(47, 90, 226) |
| HSL | hsl(226, 76%, 54%) |
| HSV | hsv(226, 79%, 89%) |
| CMYK | cmyk(79.2%, 60.2%, 0%, 11.4%) |
| CIE-LAB | lab(43.37, 34.14, -73.12) |
| CIE-LCH | lch(43.37, 80.70, 295.02°) |
| OKLab | oklab(52.47% -0.0157 -0.2115) |
| OKLCH | oklch(52.47% 0.212 265.8) |
| XYZ | xyz(18.5511, 13.4055, 73.5466) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.71
Warm Blue
#4B57DB
ΔE00 3.14
Electric Blue
#0652FF
ΔE00 3.77
Bright Blue
#0165FC
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 4.93
Sapphire
#0F52BA
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5AE2 #E2B72F
analogous
#2FB3E2 #2F5AE2 #5E2FE2
triadic
#2F5AE2 #E22F5A #5AE22F
tetradic
#2F5AE2 #E22FB3 #E2B72F #2FE25E
square
#2F5AE2 #E22FB3 #E2B72F #2FE25E
split-complementary
#2F5AE2 #E25E2F #B3E22F
monochromatic
#122E84 #1A40BA #2F5AE2 #6585E9 #9AAFF1
Accessibility & contrast
On white
5.70
#2F5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#2F5AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5AE2
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5AE2 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f5ae2; /* rgb */ color: rgb(47, 90, 226); /* oklch */ color: oklch(52.5% 0.212 265.8);
Tailwind
colors: {
custom: {
50: '#8488ec',
500: '#2f5ae2',
950: '#000000',
},
}SCSS
$custom: #2f5ae2; $custom-light: #8488ec; $custom-dark: #000000;
JSON
{
"hex": "#2f5ae2",
"rgb": {
"r": 47,
"g": 90,
"b": 226
},
"hsl": {
"h": 225.587,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.52465,
"c": 0.21206,
"h": 265.8
},
"luminance": 0.13408
}Semantic roles & 50–950 ramp
primary
#2F5AE2
secondary
#DDCA90
accent
#C536F2
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84