#2F58BA#2F58BA
#2F58BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.162 H 264.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2F58BA |
|---|---|
| RGB | rgb(47, 88, 186) |
| HSL | hsl(222, 60%, 46%) |
| HSV | hsv(222, 75%, 73%) |
| CMYK | cmyk(74.7%, 52.7%, 0%, 27.1%) |
| CIE-LAB | lab(39.79, 20.52, -55.89) |
| CIE-LCH | lch(39.79, 59.54, 290.16°) |
| OKLab | oklab(48.82% -0.0164 -0.1609) |
| OKLCH | oklch(48.82% 0.162 264.2) |
| XYZ | xyz(13.5218, 11.1275, 47.8800) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.53
Denim
#1560BD
ΔE00 4.21
Denim Blue
#3B5B92
ΔE00 5.23
Cobalt
#0047AB
ΔE00 5.89
Dusky Blue
#475F94
ΔE00 6.05
Dusk Blue
#26538D
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F58BA #BA912F
analogous
#2F9DBA #2F58BA #4B2FBA
triadic
#2F58BA #BA2F58 #58BA2F
tetradic
#2F58BA #BA2F9D #BA912F #2FBA4B
square
#2F58BA #BA2F9D #BA912F #2FBA4B
split-complementary
#2F58BA #BA4B2F #9DBA2F
monochromatic
#162A58 #234189 #2F58BA #5379D3 #849FE0
Accessibility & contrast
On white
6.51
#2F58BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2F58BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F58BA
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F58BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F58BA | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1364BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f58ba; /* rgb */ color: rgb(47, 88, 186); /* oklch */ color: oklch(48.8% 0.162 264.2);
Tailwind
colors: {
custom: {
50: '#7b86cf',
500: '#2f58ba',
950: '#000000',
},
}SCSS
$custom: #2f58ba; $custom-light: #7b86cf; $custom-dark: #000000;
JSON
{
"hex": "#2f58ba",
"rgb": {
"r": 47,
"g": 88,
"b": 186
},
"hsl": {
"h": 222.302,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.48824,
"c": 0.16173,
"h": 264.2
},
"luminance": 0.11129
}Semantic roles & 50–950 ramp
primary
#2F58BA
secondary
#C9B27C
accent
#B445E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82