#2F57C2#2F57C2
#2F57C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.174 H 265.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F57C2 |
|---|---|
| RGB | rgb(47, 87, 194) |
| HSL | hsl(224, 61%, 47%) |
| HSV | hsv(224, 76%, 76%) |
| CMYK | cmyk(75.8%, 55.2%, 0%, 23.9%) |
| CIE-LAB | lab(40.10, 24.19, -60.06) |
| CIE-LCH | lch(40.10, 64.75, 291.94°) |
| OKLab | oklab(49.24% -0.015 -0.1732) |
| OKLCH | oklch(49.24% 0.174 265.1) |
| XYZ | xyz(14.3147, 11.3142, 52.4579) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.90
Denim
#1560BD
ΔE00 4.90
Azul
#1D5DEC
ΔE00 5.42
Warm Blue
#4B57DB
ΔE00 5.47
Cobalt
#0047AB
ΔE00 6.15
Denim Blue
#3B5B92
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F57C2 #C29A2F
analogous
#2FA1C2 #2F57C2 #502FC2
triadic
#2F57C2 #C22F57 #57C22F
tetradic
#2F57C2 #C22FA1 #C29A2F #2FC250
square
#2F57C2 #C22FA1 #C29A2F #2FC250
split-complementary
#2F57C2 #C2502F #A1C22F
monochromatic
#172B5F #234191 #2F57C2 #587AD6 #89A1E2
Accessibility & contrast
On white
6.44
#2F57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2F57C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F57C2
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F57C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F57C2 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f57c2; /* rgb */ color: rgb(47, 87, 194); /* oklch */ color: oklch(49.2% 0.174 265.1);
Tailwind
colors: {
custom: {
50: '#7d85d5',
500: '#2f57c2',
950: '#000000',
},
}SCSS
$custom: #2f57c2; $custom-light: #7d85d5; $custom-dark: #000000;
JSON
{
"hex": "#2f57c2",
"rgb": {
"r": 47,
"g": 87,
"b": 194
},
"hsl": {
"h": 223.673,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.49243,
"c": 0.17381,
"h": 265.1
},
"luminance": 0.11316
}Semantic roles & 50–950 ramp
primary
#2F57C2
secondary
#CCB881
accent
#B844E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83