#2F56C4#2F56C4
#2F56C4 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.178 H 265.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F56C4 |
|---|---|
| RGB | rgb(47, 86, 196) |
| HSL | hsl(224, 61%, 48%) |
| HSV | hsv(224, 76%, 77%) |
| CMYK | cmyk(76%, 56.1%, 0%, 23.1%) |
| CIE-LAB | lab(39.99, 25.59, -61.41) |
| CIE-LCH | lch(39.99, 66.53, 292.63°) |
| OKLab | oklab(49.2% -0.0141 -0.1771) |
| OKLCH | oklch(49.2% 0.178 265.4) |
| XYZ | xyz(14.4604, 11.2438, 53.6220) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 5.15
Denim
#1560BD
ΔE00 5.32
Azul
#1D5DEC
ΔE00 5.32
Cobalt
#0047AB
ΔE00 6.11
Blue Blue
#2242C7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F56C4 #C49D2F
analogous
#2FA1C4 #2F56C4 #522FC4
triadic
#2F56C4 #C42F56 #56C42F
tetradic
#2F56C4 #C42FA1 #C49D2F #2FC452
square
#2F56C4 #C42FA1 #C49D2F #2FC452
split-complementary
#2F56C4 #C4522F #A1C42F
monochromatic
#172B61 #234093 #2F56C4 #597AD7 #8AA2E3
Accessibility & contrast
On white
6.46
#2F56C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2F56C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F56C4
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F56C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F56C4 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f56c4; /* rgb */ color: rgb(47, 86, 196); /* oklch */ color: oklch(49.2% 0.178 265.4);
Tailwind
colors: {
custom: {
50: '#7d85d7',
500: '#2f56c4',
950: '#000000',
},
}SCSS
$custom: #2f56c4; $custom-light: #7d85d7; $custom-dark: #000000;
JSON
{
"hex": "#2f56c4",
"rgb": {
"r": 47,
"g": 86,
"b": 196
},
"hsl": {
"h": 224.295,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.49202,
"c": 0.17771,
"h": 265.4
},
"luminance": 0.11245
}Semantic roles & 50–950 ramp
primary
#2F56C4
secondary
#CDB982
accent
#BA43E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83