#3058B5#3058B5
#3058B5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.155 H 264.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3058B5 |
|---|---|
| RGB | rgb(48, 88, 181) |
| HSL | hsl(222, 58%, 45%) |
| HSV | hsv(222, 73%, 71%) |
| CMYK | cmyk(73.5%, 51.4%, 0%, 29%) |
| CIE-LAB | lab(39.48, 18.77, -53.46) |
| CIE-LCH | lch(39.48, 56.66, 289.34°) |
| OKLab | oklab(48.49% -0.0162 -0.1537) |
| OKLCH | oklch(48.49% 0.155 264) |
| XYZ | xyz(13.0462, 10.9426, 45.1317) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.53
Denim
#1560BD
ΔE00 4.17
Denim Blue
#3B5B92
ΔE00 4.64
Dusky Blue
#475F94
ΔE00 5.58
Dusk Blue
#26538D
ΔE00 5.71
Cobalt
#0047AB
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3058B5 #B58D30
analogous
#309BB5 #3058B5 #4B30B5
triadic
#3058B5 #B53058 #58B530
tetradic
#3058B5 #B5309B #B58D30 #30B54B
square
#3058B5 #B5309B #B58D30 #30B54B
split-complementary
#3058B5 #B54B30 #9BB530
monochromatic
#162954 #234085 #3058B5 #5178D1 #829DDE
Accessibility & contrast
On white
6.59
#3058B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#3058B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3058B5
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3058B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3058B5 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D63B8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3058b5; /* rgb */ color: rgb(48, 88, 181); /* oklch */ color: oklch(48.5% 0.155 264.0);
Tailwind
colors: {
custom: {
50: '#7a86cc',
500: '#3058b5',
950: '#000000',
},
}SCSS
$custom: #3058b5; $custom-light: #7a86cc; $custom-dark: #000000;
JSON
{
"hex": "#3058b5",
"rgb": {
"r": 48,
"g": 88,
"b": 181
},
"hsl": {
"h": 221.955,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.48487,
"c": 0.15457,
"h": 264
},
"luminance": 0.10944
}Semantic roles & 50–950 ramp
primary
#3058B5
secondary
#C7B07A
accent
#B346E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82