#2F56C0#2F56C0
#2F56C0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.172 H 265.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2F56C0 |
|---|---|
| RGB | rgb(47, 86, 192) |
| HSL | hsl(224, 61%, 47%) |
| HSV | hsv(224, 76%, 75%) |
| CMYK | cmyk(75.5%, 55.2%, 0%, 24.7%) |
| CIE-LAB | lab(39.69, 24.09, -59.57) |
| CIE-LCH | lch(39.69, 64.26, 292.02°) |
| OKLab | oklab(48.88% -0.0144 -0.1717) |
| OKLCH | oklch(48.88% 0.172 265.2) |
| XYZ | xyz(14.0111, 11.0641, 51.2561) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.68
Denim
#1560BD
ΔE00 5.10
Warm Blue
#4B57DB
ΔE00 5.64
Azul
#1D5DEC
ΔE00 5.78
Cobalt
#0047AB
ΔE00 5.79
Denim Blue
#3B5B92
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F56C0 #C0992F
analogous
#2F9FC0 #2F56C0 #512FC0
triadic
#2F56C0 #C02F56 #56C02F
tetradic
#2F56C0 #C02F9F #C0992F #2FC051
square
#2F56C0 #C02F9F #C0992F #2FC051
split-complementary
#2F56C0 #C0512F #9FC02F
monochromatic
#172A5E #23408F #2F56C0 #5679D6 #88A0E2
Accessibility & contrast
On white
6.54
#2F56C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2F56C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F56C0
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F56C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F56C0 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f56c0; /* rgb */ color: rgb(47, 86, 192); /* oklch */ color: oklch(48.9% 0.172 265.2);
Tailwind
colors: {
custom: {
50: '#7c85d4',
500: '#2f56c0',
950: '#000000',
},
}SCSS
$custom: #2f56c0; $custom-light: #7c85d4; $custom-dark: #000000;
JSON
{
"hex": "#2f56c0",
"rgb": {
"r": 47,
"g": 86,
"b": 192
},
"hsl": {
"h": 223.862,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.48882,
"c": 0.17234,
"h": 265.2
},
"luminance": 0.11066
}Semantic roles & 50–950 ramp
primary
#2F56C0
secondary
#CBB77F
accent
#B944E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83