#2F58C2#2F58C2
#2F58C2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.173 H 264.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F58C2 |
|---|---|
| RGB | rgb(47, 88, 194) |
| HSL | hsl(223, 61%, 47%) |
| HSV | hsv(223, 76%, 76%) |
| CMYK | cmyk(75.8%, 54.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.37, 23.54, -59.62) |
| CIE-LCH | lch(40.37, 64.10, 291.55°) |
| OKLab | oklab(49.45% -0.0157 -0.1719) |
| OKLCH | oklch(49.45% 0.173 264.8) |
| XYZ | xyz(14.3962, 11.4772, 52.4851) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.99
Denim
#1560BD
ΔE00 4.59
Azul
#1D5DEC
ΔE00 5.31
Warm Blue
#4B57DB
ΔE00 5.57
Denim Blue
#3B5B92
ΔE00 6.19
Cobalt
#0047AB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F58C2 #C2992F
analogous
#2FA2C2 #2F58C2 #4F2FC2
triadic
#2F58C2 #C22F58 #58C22F
tetradic
#2F58C2 #C22FA2 #C2992F #2FC24F
square
#2F58C2 #C22FA2 #C2992F #2FC24F
split-complementary
#2F58C2 #C24F2F #A2C22F
monochromatic
#172B5F #234291 #2F58C2 #587BD6 #89A2E2
Accessibility & contrast
On white
6.37
#2F58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2F58C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F58C2
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F58C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F58C2 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f58c2; /* rgb */ color: rgb(47, 88, 194); /* oklch */ color: oklch(49.4% 0.173 264.8);
Tailwind
colors: {
custom: {
50: '#7d86d5',
500: '#2f58c2',
950: '#000000',
},
}SCSS
$custom: #2f58c2; $custom-light: #7d86d5; $custom-dark: #000000;
JSON
{
"hex": "#2f58c2",
"rgb": {
"r": 47,
"g": 88,
"b": 194
},
"hsl": {
"h": 223.265,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.49445,
"c": 0.17258,
"h": 264.8
},
"luminance": 0.11479
}Semantic roles & 50–950 ramp
primary
#2F58C2
secondary
#CCB781
accent
#B744E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83