#2F59DC#2F59DC
#2F59DC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 51.8% C 0.206 H 265.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F59DC |
|---|---|
| RGB | rgb(47, 89, 220) |
| HSL | hsl(225, 71%, 52%) |
| HSV | hsv(225, 79%, 86%) |
| CMYK | cmyk(78.6%, 59.5%, 0%, 13.7%) |
| CIE-LAB | lab(42.63, 32.57, -70.91) |
| CIE-LCH | lch(42.63, 78.03, 294.67°) |
| OKLab | oklab(51.77% -0.0152 -0.205) |
| OKLCH | oklch(51.77% 0.206 265.8) |
| XYZ | xyz(17.6584, 12.9143, 69.2583) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.35
Warm Blue
#4B57DB
ΔE00 3.21
Electric Blue
#0652FF
ΔE00 4.28
Royal Blue
#4169E1
ΔE00 5.36
Bright Blue
#0165FC
ΔE00 5.56
Sapphire
#0F52BA
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F59DC #DCB22F
analogous
#2FAFDC #2F59DC #5C2FDC
triadic
#2F59DC #DC2F59 #59DC2F
tetradic
#2F59DC #DC2FAF #DCB22F #2FDC5C
square
#2F59DC #DC2FAF #DCB22F #2FDC5C
split-complementary
#2F59DC #DC5C2F #AFDC2F
monochromatic
#152E7C #1E41B0 #2F59DC #6383E5 #98ADEE
Accessibility & contrast
On white
5.86
#2F59DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2F59DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F59DC
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F59DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F59DC | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f59dc; /* rgb */ color: rgb(47, 89, 220); /* oklch */ color: oklch(51.8% 0.206 265.8);
Tailwind
colors: {
custom: {
50: '#8387e8',
500: '#2f59dc',
950: '#000000',
},
}SCSS
$custom: #2f59dc; $custom-light: #8387e8; $custom-dark: #000000;
JSON
{
"hex": "#2f59dc",
"rgb": {
"r": 47,
"g": 89,
"b": 220
},
"hsl": {
"h": 225.434,
"s": 71.193,
"l": 52.353
},
"oklch": {
"l": 0.51768,
"c": 0.20557,
"h": 265.8
},
"luminance": 0.12916
}Semantic roles & 50–950 ramp
primary
#2F59DC
secondary
#D9C78E
accent
#C23AEE
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84