#2F58C4#2F58C4
#2F58C4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.175 H 264.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F58C4 |
|---|---|
| RGB | rgb(47, 88, 196) |
| HSL | hsl(223, 61%, 48%) |
| HSV | hsv(223, 76%, 77%) |
| CMYK | cmyk(76%, 55.1%, 0%, 23.1%) |
| CIE-LAB | lab(40.52, 24.29, -60.54) |
| CIE-LCH | lch(40.52, 65.23, 291.86°) |
| OKLab | oklab(49.6% -0.0156 -0.1746) |
| OKLCH | oklch(49.6% 0.175 264.9) |
| XYZ | xyz(14.6223, 11.5677, 53.6760) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.16
Denim
#1560BD
ΔE00 4.71
Azul
#1D5DEC
ΔE00 5.07
Warm Blue
#4B57DB
ΔE00 5.33
Denim Blue
#3B5B92
ΔE00 6.43
Cobalt
#0047AB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F58C4 #C49B2F
analogous
#2FA2C4 #2F58C4 #502FC4
triadic
#2F58C4 #C42F58 #58C42F
tetradic
#2F58C4 #C42FA2 #C49B2F #2FC450
square
#2F58C4 #C42FA2 #C49B2F #2FC450
split-complementary
#2F58C4 #C4502F #A2C42F
monochromatic
#172C61 #234293 #2F58C4 #597CD7 #8AA3E3
Accessibility & contrast
On white
6.34
#2F58C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#2F58C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F58C4
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F58C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F58C4 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f58c4; /* rgb */ color: rgb(47, 88, 196); /* oklch */ color: oklch(49.6% 0.175 264.9);
Tailwind
colors: {
custom: {
50: '#7d86d7',
500: '#2f58c4',
950: '#000000',
},
}SCSS
$custom: #2f58c4; $custom-light: #7d86d7; $custom-dark: #000000;
JSON
{
"hex": "#2f58c4",
"rgb": {
"r": 47,
"g": 88,
"b": 196
},
"hsl": {
"h": 223.49,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.49603,
"c": 0.17527,
"h": 264.9
},
"luminance": 0.11569
}Semantic roles & 50–950 ramp
primary
#2F58C4
secondary
#CDB882
accent
#B843E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83