#2F58C3#2F58C3
#2F58C3 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.174 H 264.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F58C3 |
|---|---|
| RGB | rgb(47, 88, 195) |
| HSL | hsl(223, 61%, 47%) |
| HSV | hsv(223, 76%, 76%) |
| CMYK | cmyk(75.9%, 54.9%, 0%, 23.5%) |
| CIE-LAB | lab(40.45, 23.92, -60.08) |
| CIE-LCH | lch(40.45, 64.67, 291.70°) |
| OKLab | oklab(49.52% -0.0157 -0.1732) |
| OKLCH | oklch(49.52% 0.174 264.8) |
| XYZ | xyz(14.5089, 11.5223, 53.0785) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.07
Denim
#1560BD
ΔE00 4.65
Azul
#1D5DEC
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.45
Denim Blue
#3B5B92
ΔE00 6.31
Cobalt
#0047AB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F58C3 #C39A2F
analogous
#2FA2C3 #2F58C3 #502FC3
triadic
#2F58C3 #C32F58 #58C32F
tetradic
#2F58C3 #C32FA2 #C39A2F #2FC350
square
#2F58C3 #C32FA2 #C39A2F #2FC350
split-complementary
#2F58C3 #C3502F #A2C32F
monochromatic
#172B60 #234292 #2F58C3 #587BD7 #8AA2E3
Accessibility & contrast
On white
6.35
#2F58C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2F58C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F58C3
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F58C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F58C3 | 1.00 | 6.35 | 3.30 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f58c3; /* rgb */ color: rgb(47, 88, 195); /* oklch */ color: oklch(49.5% 0.174 264.8);
Tailwind
colors: {
custom: {
50: '#7d86d6',
500: '#2f58c3',
950: '#000000',
},
}SCSS
$custom: #2f58c3; $custom-light: #7d86d6; $custom-dark: #000000;
JSON
{
"hex": "#2f58c3",
"rgb": {
"r": 47,
"g": 88,
"b": 195
},
"hsl": {
"h": 223.378,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.49524,
"c": 0.17393,
"h": 264.8
},
"luminance": 0.11524
}Semantic roles & 50–950 ramp
primary
#2F58C3
secondary
#CDB881
accent
#B844E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83