#2F57C4#2F57C4
#2F57C4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.176 H 265.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F57C4 |
|---|---|
| RGB | rgb(47, 87, 196) |
| HSL | hsl(224, 61%, 48%) |
| HSV | hsv(224, 76%, 77%) |
| CMYK | cmyk(76%, 55.6%, 0%, 23.1%) |
| CIE-LAB | lab(40.25, 24.94, -60.98) |
| CIE-LCH | lch(40.25, 65.88, 292.25°) |
| OKLab | oklab(49.4% -0.0149 -0.1759) |
| OKLCH | oklch(49.4% 0.177 265.2) |
| XYZ | xyz(14.5408, 11.4046, 53.6488) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.07
Denim
#1560BD
ΔE00 5.01
Azul
#1D5DEC
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.23
Cobalt
#0047AB
ΔE00 6.30
Denim Blue
#3B5B92
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F57C4 #C49C2F
analogous
#2FA1C4 #2F57C4 #522FC4
triadic
#2F57C4 #C42F57 #57C42F
tetradic
#2F57C4 #C42FA1 #C49C2F #2FC452
square
#2F57C4 #C42FA1 #C49C2F #2FC452
split-complementary
#2F57C4 #C4522F #A1C42F
monochromatic
#172B61 #234193 #2F57C4 #597BD7 #8AA2E3
Accessibility & contrast
On white
6.40
#2F57C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2F57C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F57C4
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F57C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F57C4 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f57c4; /* rgb */ color: rgb(47, 87, 196); /* oklch */ color: oklch(49.4% 0.176 265.2);
Tailwind
colors: {
custom: {
50: '#7d85d7',
500: '#2f57c4',
950: '#000000',
},
}SCSS
$custom: #2f57c4; $custom-light: #7d85d7; $custom-dark: #000000;
JSON
{
"hex": "#2f57c4",
"rgb": {
"r": 47,
"g": 87,
"b": 196
},
"hsl": {
"h": 223.893,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.49402,
"c": 0.1765,
"h": 265.2
},
"luminance": 0.11406
}Semantic roles & 50–950 ramp
primary
#2F57C4
secondary
#CDB982
accent
#B943E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83