#2F58BC#2F58BC
#2F58BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.164 H 264.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F58BC |
|---|---|
| RGB | rgb(47, 88, 188) |
| HSL | hsl(223, 60%, 46%) |
| HSV | hsv(223, 75%, 74%) |
| CMYK | cmyk(75%, 53.2%, 0%, 26.3%) |
| CIE-LAB | lab(39.94, 21.28, -56.83) |
| CIE-LCH | lch(39.94, 60.68, 290.53°) |
| OKLab | oklab(48.98% -0.0162 -0.1636) |
| OKLCH | oklch(48.98% 0.164 264.3) |
| XYZ | xyz(13.7359, 11.2131, 49.0076) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.61
Denim
#1560BD
ΔE00 4.28
Denim Blue
#3B5B92
ΔE00 5.47
Cobalt
#0047AB
ΔE00 5.99
Azul
#1D5DEC
ΔE00 6.05
Dusky Blue
#475F94
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F58BC #BC932F
analogous
#2F9EBC #2F58BC #4C2FBC
triadic
#2F58BC #BC2F58 #58BC2F
tetradic
#2F58BC #BC2F9E #BC932F #2FBC4C
square
#2F58BC #BC2F9E #BC932F #2FBC4C
split-complementary
#2F58BC #BC4C2F #9EBC2F
monochromatic
#172A5A #23418B #2F58BC #5479D4 #85A0E0
Accessibility & contrast
On white
6.48
#2F58BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2F58BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F58BC
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F58BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F58BC | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D65C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f58bc; /* rgb */ color: rgb(47, 88, 188); /* oklch */ color: oklch(49.0% 0.164 264.3);
Tailwind
colors: {
custom: {
50: '#7b86d1',
500: '#2f58bc',
950: '#000000',
},
}SCSS
$custom: #2f58bc; $custom-light: #7b86d1; $custom-dark: #000000;
JSON
{
"hex": "#2f58bc",
"rgb": {
"r": 47,
"g": 88,
"b": 188
},
"hsl": {
"h": 222.553,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.48977,
"c": 0.16445,
"h": 264.3
},
"luminance": 0.11215
}Semantic roles & 50–950 ramp
primary
#2F58BC
secondary
#CAB37D
accent
#B545E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82