#2F56BF#2F56BF
#2F56BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.171 H 265.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F56BF |
|---|---|
| RGB | rgb(47, 86, 191) |
| HSL | hsl(224, 61%, 47%) |
| HSV | hsv(224, 75%, 75%) |
| CMYK | cmyk(75.4%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(39.61, 23.72, -59.10) |
| CIE-LCH | lch(39.61, 63.69, 291.86°) |
| OKLab | oklab(48.8% -0.0145 -0.1704) |
| OKLCH | oklch(48.8% 0.171 265.1) |
| XYZ | xyz(13.9007, 11.0200, 50.6746) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.60
Denim
#1560BD
ΔE00 5.06
Cobalt
#0047AB
ΔE00 5.72
Warm Blue
#4B57DB
ΔE00 5.76
Azul
#1D5DEC
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F56BF #BF982F
analogous
#2F9EBF #2F56BF #502FBF
triadic
#2F56BF #BF2F56 #56BF2F
tetradic
#2F56BF #BF2F9E #BF982F #2FBF50
square
#2F56BF #BF2F9E #BF982F #2FBF50
split-complementary
#2F56BF #BF502F #9EBF2F
monochromatic
#172A5D #23408E #2F56BF #5678D5 #879FE1
Accessibility & contrast
On white
6.55
#2F56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2F56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F56BF
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F56BF | 1.00 | 6.55 | 3.20 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f56bf; /* rgb */ color: rgb(47, 86, 191); /* oklch */ color: oklch(48.8% 0.171 265.1);
Tailwind
colors: {
custom: {
50: '#7c85d3',
500: '#2f56bf',
950: '#000000',
},
}SCSS
$custom: #2f56bf; $custom-light: #7c85d3; $custom-dark: #000000;
JSON
{
"hex": "#2f56bf",
"rgb": {
"r": 47,
"g": 86,
"b": 191
},
"hsl": {
"h": 223.75,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.48802,
"c": 0.17099,
"h": 265.1
},
"luminance": 0.11022
}Semantic roles & 50–950 ramp
primary
#2F56BF
secondary
#CBB67F
accent
#B844E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83