#3062BA#3062BA
#3062BA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.149 H 260.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3062BA |
|---|---|
| RGB | rgb(48, 98, 186) |
| HSL | hsl(218, 59%, 46%) |
| HSV | hsv(218, 74%, 73%) |
| CMYK | cmyk(74.2%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(42.62, 14.15, -51.33) |
| CIE-LCH | lch(42.62, 53.24, 285.41°) |
| OKLab | oklab(51% -0.0239 -0.1473) |
| OKLCH | oklch(51% 0.149 260.8) |
| XYZ | xyz(14.4463, 12.9073, 48.1749) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.93
French Blue
#436BAD
ΔE00 3.50
Mid Blue
#276AB3
ΔE00 4.05
Medium Blue
#2C6FBB
ΔE00 5.18
Sapphire
#0F52BA
ΔE00 5.31
Denim (survey)
#3B638C
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062BA #BA8830
analogous
#30A7BA #3062BA #4330BA
triadic
#3062BA #BA3062 #62BA30
tetradic
#3062BA #BA30A7 #BA8830 #30BA43
square
#3062BA #BA30A7 #BA8830 #30BA43
split-complementary
#3062BA #BA4330 #A7BA30
monochromatic
#172F59 #234889 #3062BA #5482D3 #85A6DF
Accessibility & contrast
On white
5.86
#3062BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#3062BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062BA
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062BA | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#0D5FB8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3062ba; /* rgb */ color: rgb(48, 98, 186); /* oklch */ color: oklch(51.0% 0.149 260.8);
Tailwind
colors: {
custom: {
50: '#7b8ecf',
500: '#3062ba',
950: '#000000',
},
}SCSS
$custom: #3062ba; $custom-light: #7b8ecf; $custom-dark: #000000;
JSON
{
"hex": "#3062ba",
"rgb": {
"r": 48,
"g": 98,
"b": 186
},
"hsl": {
"h": 218.261,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.50995,
"c": 0.14919,
"h": 260.8
},
"luminance": 0.12909
}Semantic roles & 50–950 ramp
primary
#3062BA
secondary
#C9AD7D
accent
#A946E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82