#2F5BDA#2F5BDA
#2F5BDA is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.0% C 0.201 H 265.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BDA |
|---|---|
| RGB | rgb(47, 91, 218) |
| HSL | hsl(225, 70%, 52%) |
| HSV | hsv(225, 78%, 85%) |
| CMYK | cmyk(78.4%, 58.3%, 0%, 14.5%) |
| CIE-LAB | lab(42.98, 30.56, -69.20) |
| CIE-LCH | lch(42.98, 75.64, 293.82°) |
| OKLab | oklab(51.98% -0.0165 -0.2) |
| OKLCH | oklch(51.98% 0.201 265.3) |
| XYZ | xyz(17.5638, 13.1464, 67.9279) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.20
Warm Blue
#4B57DB
ΔE00 3.68
Electric Blue
#0652FF
ΔE00 4.81
Royal Blue
#4169E1
ΔE00 4.83
Bright Blue
#0165FC
ΔE00 5.23
Sapphire
#0F52BA
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BDA #DAAE2F
analogous
#2FB1DA #2F5BDA #582FDA
triadic
#2F5BDA #DA2F5B #5BDA2F
tetradic
#2F5BDA #DA2FB1 #DAAE2F #2FDA58
square
#2F5BDA #DA2FB1 #DAAE2F #2FDA58
split-complementary
#2F5BDA #DA582F #B1DA2F
monochromatic
#162F79 #1F43AD #2F5BDA #6384E3 #97ADEC
Accessibility & contrast
On white
5.79
#2F5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2F5BDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BDA
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BDA | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f5bda; /* rgb */ color: rgb(47, 91, 218); /* oklch */ color: oklch(52.0% 0.201 265.3);
Tailwind
colors: {
custom: {
50: '#8288e6',
500: '#2f5bda',
950: '#000000',
},
}SCSS
$custom: #2f5bda; $custom-light: #8288e6; $custom-dark: #000000;
JSON
{
"hex": "#2f5bda",
"rgb": {
"r": 47,
"g": 91,
"b": 218
},
"hsl": {
"h": 224.561,
"s": 69.796,
"l": 51.961
},
"oklch": {
"l": 0.51979,
"c": 0.20064,
"h": 265.3
},
"luminance": 0.13148
}Semantic roles & 50–950 ramp
primary
#2F5BDA
secondary
#D8C58D
accent
#BF3BED
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0C0B16
muted
#7D7C84