#2F56C3#2F56C3
#2F56C3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.176 H 265.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F56C3 |
|---|---|
| RGB | rgb(47, 86, 195) |
| HSL | hsl(224, 61%, 47%) |
| HSV | hsv(224, 76%, 76%) |
| CMYK | cmyk(75.9%, 55.9%, 0%, 23.5%) |
| CIE-LAB | lab(39.91, 25.22, -60.95) |
| CIE-LCH | lch(39.91, 65.96, 292.48°) |
| OKLab | oklab(49.12% -0.0142 -0.1758) |
| OKLCH | oklch(49.12% 0.176 265.4) |
| XYZ | xyz(14.3469, 11.1984, 53.0246) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.93
Denim
#1560BD
ΔE00 5.26
Warm Blue
#4B57DB
ΔE00 5.27
Azul
#1D5DEC
ΔE00 5.43
Cobalt
#0047AB
ΔE00 6.03
Blue Blue
#2242C7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F56C3 #C39C2F
analogous
#2FA0C3 #2F56C3 #522FC3
triadic
#2F56C3 #C32F56 #56C32F
tetradic
#2F56C3 #C32FA0 #C39C2F #2FC352
square
#2F56C3 #C32FA0 #C39C2F #2FC352
split-complementary
#2F56C3 #C3522F #A0C32F
monochromatic
#172B60 #234092 #2F56C3 #587AD7 #8AA1E3
Accessibility & contrast
On white
6.48
#2F56C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2F56C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F56C3
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F56C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F56C3 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f56c3; /* rgb */ color: rgb(47, 86, 195); /* oklch */ color: oklch(49.1% 0.176 265.4);
Tailwind
colors: {
custom: {
50: '#7d85d6',
500: '#2f56c3',
950: '#000000',
},
}SCSS
$custom: #2f56c3; $custom-light: #7d85d6; $custom-dark: #000000;
JSON
{
"hex": "#2f56c3",
"rgb": {
"r": 47,
"g": 86,
"b": 195
},
"hsl": {
"h": 224.189,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.49121,
"c": 0.17637,
"h": 265.4
},
"luminance": 0.112
}Semantic roles & 50–950 ramp
primary
#2F56C3
secondary
#CDB981
accent
#BA44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83