#3062BB#3062BB
#3062BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.151 H 260.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3062BB |
|---|---|
| RGB | rgb(48, 98, 187) |
| HSL | hsl(218, 59%, 46%) |
| HSV | hsv(218, 74%, 73%) |
| CMYK | cmyk(74.3%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(42.69, 14.53, -51.80) |
| CIE-LCH | lch(42.69, 53.80, 285.66°) |
| OKLab | oklab(51.07% -0.0238 -0.1487) |
| OKLCH | oklch(51.07% 0.151 260.9) |
| XYZ | xyz(14.5530, 12.9500, 48.7367) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.98
French Blue
#436BAD
ΔE00 3.53
Mid Blue
#276AB3
ΔE00 4.11
Medium Blue
#2C6FBB
ΔE00 5.20
Sapphire
#0F52BA
ΔE00 5.31
Denim (survey)
#3B638C
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062BB #BB8930
analogous
#30A7BB #3062BB #4330BB
triadic
#3062BB #BB3062 #62BB30
tetradic
#3062BB #BB30A7 #BB8930 #30BB43
square
#3062BB #BB30A7 #BB8930 #30BB43
split-complementary
#3062BB #BB4330 #A7BB30
monochromatic
#172F5A #23488A #3062BB #5582D3 #86A6E0
Accessibility & contrast
On white
5.85
#3062BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#3062BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062BB
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062BB | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316CBE
Deuteranopia (green-blind)
#095FB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3062bb; /* rgb */ color: rgb(48, 98, 187); /* oklch */ color: oklch(51.1% 0.151 260.9);
Tailwind
colors: {
custom: {
50: '#7b8ed0',
500: '#3062bb',
950: '#000000',
},
}SCSS
$custom: #3062bb; $custom-light: #7b8ed0; $custom-dark: #000000;
JSON
{
"hex": "#3062bb",
"rgb": {
"r": 48,
"g": 98,
"b": 187
},
"hsl": {
"h": 218.417,
"s": 59.149,
"l": 46.078
},
"oklch": {
"l": 0.51065,
"c": 0.15056,
"h": 260.9
},
"luminance": 0.12952
}Semantic roles & 50–950 ramp
primary
#3062BB
secondary
#C9AE7D
accent
#AA45E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82