#2F57C0#2F57C0
#2F57C0 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.171 H 264.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F57C0 |
|---|---|
| RGB | rgb(47, 87, 192) |
| HSL | hsl(223, 61%, 47%) |
| HSV | hsv(223, 76%, 75%) |
| CMYK | cmyk(75.5%, 54.7%, 0%, 24.7%) |
| CIE-LAB | lab(39.96, 23.44, -59.13) |
| CIE-LCH | lch(39.96, 63.61, 291.62°) |
| OKLab | oklab(49.08% -0.0151 -0.1704) |
| OKLCH | oklch(49.08% 0.171 264.9) |
| XYZ | xyz(14.0916, 11.2249, 51.2829) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.74
Denim
#1560BD
ΔE00 4.79
Azul
#1D5DEC
ΔE00 5.66
Warm Blue
#4B57DB
ΔE00 5.72
Cobalt
#0047AB
ΔE00 6.00
Denim Blue
#3B5B92
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F57C0 #C0982F
analogous
#2FA0C0 #2F57C0 #502FC0
triadic
#2F57C0 #C02F57 #57C02F
tetradic
#2F57C0 #C02FA0 #C0982F #2FC050
square
#2F57C0 #C02FA0 #C0982F #2FC050
split-complementary
#2F57C0 #C0502F #A0C02F
monochromatic
#172A5E #23418F #2F57C0 #567AD6 #88A0E2
Accessibility & contrast
On white
6.47
#2F57C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2F57C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F57C0
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F57C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F57C0 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f57c0; /* rgb */ color: rgb(47, 87, 192); /* oklch */ color: oklch(49.1% 0.171 264.9);
Tailwind
colors: {
custom: {
50: '#7c85d4',
500: '#2f57c0',
950: '#000000',
},
}SCSS
$custom: #2f57c0; $custom-light: #7c85d4; $custom-dark: #000000;
JSON
{
"hex": "#2f57c0",
"rgb": {
"r": 47,
"g": 87,
"b": 192
},
"hsl": {
"h": 223.448,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.49084,
"c": 0.17111,
"h": 264.9
},
"luminance": 0.11226
}Semantic roles & 50–950 ramp
primary
#2F57C0
secondary
#CBB67F
accent
#B844E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83