#2F57B3#2F57B3
#2F57B3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.153 H 263.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F57B3 |
|---|---|
| RGB | rgb(47, 87, 179) |
| HSL | hsl(222, 58%, 44%) |
| HSV | hsv(222, 74%, 70%) |
| CMYK | cmyk(73.7%, 51.4%, 0%, 29.8%) |
| CIE-LAB | lab(39.03, 18.53, -53.02) |
| CIE-LCH | lch(39.03, 56.17, 289.27°) |
| OKLab | oklab(48.08% -0.0164 -0.1525) |
| OKLCH | oklch(48.08% 0.153 263.9) |
| XYZ | xyz(12.7143, 10.6740, 44.0293) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.33
Denim
#1560BD
ΔE00 4.39
Denim Blue
#3B5B92
ΔE00 4.52
Cobalt
#0047AB
ΔE00 5.35
Dusk Blue
#26538D
ΔE00 5.41
Dusky Blue
#475F94
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F57B3 #B38B2F
analogous
#2F99B3 #2F57B3 #492FB3
triadic
#2F57B3 #B32F57 #57B32F
tetradic
#2F57B3 #B32F99 #B38B2F #2FB349
square
#2F57B3 #B32F99 #B38B2F #2FB349
split-complementary
#2F57B3 #B3492F #99B32F
monochromatic
#162852 #223F83 #2F57B3 #4F76D1 #7F9CDD
Accessibility & contrast
On white
6.70
#2F57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2F57B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F57B3
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F57B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F57B3 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D62B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f57b3; /* rgb */ color: rgb(47, 87, 179); /* oklch */ color: oklch(48.1% 0.153 263.9);
Tailwind
colors: {
custom: {
50: '#7985ca',
500: '#2f57b3',
950: '#000000',
},
}SCSS
$custom: #2f57b3; $custom-light: #7985ca; $custom-dark: #000000;
JSON
{
"hex": "#2f57b3",
"rgb": {
"r": 47,
"g": 87,
"b": 179
},
"hsl": {
"h": 221.818,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.48083,
"c": 0.15335,
"h": 263.9
},
"luminance": 0.10675
}Semantic roles & 50–950 ramp
primary
#2F57B3
secondary
#C6AE78
accent
#B346E2
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82