#2F5CDB#2F5CDB
#2F5CDB is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.3% C 0.201 H 265.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CDB |
|---|---|
| RGB | rgb(47, 92, 219) |
| HSL | hsl(224, 70%, 52%) |
| HSV | hsv(224, 79%, 86%) |
| CMYK | cmyk(78.5%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(43.32, 30.29, -69.22) |
| CIE-LCH | lch(43.32, 75.56, 293.63°) |
| OKLab | oklab(52.25% -0.0171 -0.2) |
| OKLCH | oklch(52.25% 0.201 265.1) |
| XYZ | xyz(17.7811, 13.3710, 68.6478) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.99
Warm Blue
#4B57DB
ΔE00 3.83
Royal Blue
#4169E1
ΔE00 4.50
Electric Blue
#0652FF
ΔE00 4.88
Bright Blue
#0165FC
ΔE00 4.92
Denim
#1560BD
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CDB #DBAE2F
analogous
#2FB2DB #2F5CDB #582FDB
triadic
#2F5CDB #DB2F5C #5CDB2F
tetradic
#2F5CDB #DB2FB2 #DBAE2F #2FDB58
square
#2F5CDB #DB2FB2 #DBAE2F #2FDB58
split-complementary
#2F5CDB #DB582F #B2DB2F
monochromatic
#15307A #1E44AF #2F5CDB #6385E4 #97AEED
Accessibility & contrast
On white
5.71
#2F5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2F5CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CDB
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CDB | 1.00 | 5.71 | 3.67 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f5cdb; /* rgb */ color: rgb(47, 92, 219); /* oklch */ color: oklch(52.3% 0.201 265.1);
Tailwind
colors: {
custom: {
50: '#8289e7',
500: '#2f5cdb',
950: '#000000',
},
}SCSS
$custom: #2f5cdb; $custom-light: #8289e7; $custom-dark: #000000;
JSON
{
"hex": "#2f5cdb",
"rgb": {
"r": 47,
"g": 92,
"b": 219
},
"hsl": {
"h": 224.302,
"s": 70.492,
"l": 52.157
},
"oklch": {
"l": 0.52254,
"c": 0.20075,
"h": 265.1
},
"luminance": 0.13373
}Semantic roles & 50–950 ramp
primary
#2F5CDB
secondary
#D8C58D
accent
#BF3BED
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0B16
muted
#7D7C84