#2F56C1#2F56C1
#2F56C1 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.174 H 265.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F56C1 |
|---|---|
| RGB | rgb(47, 86, 193) |
| HSL | hsl(224, 61%, 47%) |
| HSV | hsv(224, 76%, 76%) |
| CMYK | cmyk(75.6%, 55.4%, 0%, 24.3%) |
| CIE-LAB | lab(39.76, 24.47, -60.03) |
| CIE-LCH | lch(39.76, 64.82, 292.18°) |
| OKLab | oklab(48.96% -0.0143 -0.1731) |
| OKLCH | oklch(48.96% 0.174 265.3) |
| XYZ | xyz(14.1223, 11.1086, 51.8416) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.76
Denim
#1560BD
ΔE00 5.15
Warm Blue
#4B57DB
ΔE00 5.52
Azul
#1D5DEC
ΔE00 5.66
Cobalt
#0047AB
ΔE00 5.87
Denim Blue
#3B5B92
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F56C1 #C19A2F
analogous
#2F9FC1 #2F56C1 #512FC1
triadic
#2F56C1 #C12F56 #56C12F
tetradic
#2F56C1 #C12F9F #C19A2F #2FC151
square
#2F56C1 #C12F9F #C19A2F #2FC151
split-complementary
#2F56C1 #C1512F #9FC12F
monochromatic
#172A5F #234090 #2F56C1 #5779D6 #88A0E2
Accessibility & contrast
On white
6.52
#2F56C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2F56C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F56C1
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F56C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F56C1 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f56c1; /* rgb */ color: rgb(47, 86, 193); /* oklch */ color: oklch(49.0% 0.174 265.3);
Tailwind
colors: {
custom: {
50: '#7d85d4',
500: '#2f56c1',
950: '#000000',
},
}SCSS
$custom: #2f56c1; $custom-light: #7d85d4; $custom-dark: #000000;
JSON
{
"hex": "#2f56c1",
"rgb": {
"r": 47,
"g": 86,
"b": 193
},
"hsl": {
"h": 223.973,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.48961,
"c": 0.17369,
"h": 265.3
},
"luminance": 0.1111
}Semantic roles & 50–950 ramp
primary
#2F56C1
secondary
#CCB880
accent
#B944E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83