#2F57BF#2F57BF
#2F57BF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.170 H 264.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F57BF |
|---|---|
| RGB | rgb(47, 87, 191) |
| HSL | hsl(223, 61%, 47%) |
| HSV | hsv(223, 75%, 75%) |
| CMYK | cmyk(75.4%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(39.88, 23.06, -58.67) |
| CIE-LCH | lch(39.88, 63.04, 291.46°) |
| OKLab | oklab(49.01% -0.0152 -0.1691) |
| OKLCH | oklch(49.01% 0.17 264.9) |
| XYZ | xyz(13.9811, 11.1808, 50.7014) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.66
Denim
#1560BD
ΔE00 4.74
Azul
#1D5DEC
ΔE00 5.78
Warm Blue
#4B57DB
ΔE00 5.84
Cobalt
#0047AB
ΔE00 5.93
Denim Blue
#3B5B92
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F57BF #BF972F
analogous
#2F9FBF #2F57BF #4F2FBF
triadic
#2F57BF #BF2F57 #57BF2F
tetradic
#2F57BF #BF2F9F #BF972F #2FBF4F
square
#2F57BF #BF2F9F #BF972F #2FBF4F
split-complementary
#2F57BF #BF4F2F #9FBF2F
monochromatic
#172A5D #23418E #2F57BF #5679D5 #87A0E1
Accessibility & contrast
On white
6.49
#2F57BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2F57BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F57BF
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F57BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F57BF | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f57bf; /* rgb */ color: rgb(47, 87, 191); /* oklch */ color: oklch(49.0% 0.170 264.9);
Tailwind
colors: {
custom: {
50: '#7c85d3',
500: '#2f57bf',
950: '#000000',
},
}SCSS
$custom: #2f57bf; $custom-light: #7c85d3; $custom-dark: #000000;
JSON
{
"hex": "#2f57bf",
"rgb": {
"r": 47,
"g": 87,
"b": 191
},
"hsl": {
"h": 223.333,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.49006,
"c": 0.16976,
"h": 264.9
},
"luminance": 0.11182
}Semantic roles & 50–950 ramp
primary
#2F57BF
secondary
#CBB67F
accent
#B744E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83