#2F5BDB#2F5BDB
#2F5BDB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.1% C 0.202 H 265.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BDB |
|---|---|
| RGB | rgb(47, 91, 219) |
| HSL | hsl(225, 70%, 52%) |
| HSV | hsv(225, 79%, 86%) |
| CMYK | cmyk(78.5%, 58.4%, 0%, 14.1%) |
| CIE-LAB | lab(43.06, 30.93, -69.64) |
| CIE-LCH | lch(43.06, 76.20, 293.94°) |
| OKLab | oklab(52.06% -0.0164 -0.2013) |
| OKLCH | oklch(52.06% 0.202 265.3) |
| XYZ | xyz(17.6950, 13.1989, 68.6191) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.10
Warm Blue
#4B57DB
ΔE00 3.62
Electric Blue
#0652FF
ΔE00 4.70
Royal Blue
#4169E1
ΔE00 4.79
Bright Blue
#0165FC
ΔE00 5.15
Sapphire
#0F52BA
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BDB #DBAF2F
analogous
#2FB1DB #2F5BDB #592FDB
triadic
#2F5BDB #DB2F5B #5BDB2F
tetradic
#2F5BDB #DB2FB1 #DBAF2F #2FDB59
square
#2F5BDB #DB2FB1 #DBAF2F #2FDB59
split-complementary
#2F5BDB #DB592F #B1DB2F
monochromatic
#152F7A #1E43AF #2F5BDB #6384E4 #97ADED
Accessibility & contrast
On white
5.77
#2F5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#2F5BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BDB
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BDB | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f5bdb; /* rgb */ color: rgb(47, 91, 219); /* oklch */ color: oklch(52.1% 0.202 265.3);
Tailwind
colors: {
custom: {
50: '#8288e7',
500: '#2f5bdb',
950: '#000000',
},
}SCSS
$custom: #2f5bdb; $custom-light: #8288e7; $custom-dark: #000000;
JSON
{
"hex": "#2f5bdb",
"rgb": {
"r": 47,
"g": 91,
"b": 219
},
"hsl": {
"h": 224.651,
"s": 70.492,
"l": 52.157
},
"oklch": {
"l": 0.52063,
"c": 0.20193,
"h": 265.3
},
"luminance": 0.13201
}Semantic roles & 50–950 ramp
primary
#2F5BDB
secondary
#D8C58D
accent
#C03BED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84