#3062B9#3062B9
#3062B9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.148 H 260.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3062B9 |
|---|---|
| RGB | rgb(48, 98, 185) |
| HSL | hsl(218, 59%, 46%) |
| HSV | hsv(218, 74%, 73%) |
| CMYK | cmyk(74.1%, 47%, 0%, 27.5%) |
| CIE-LAB | lab(42.56, 13.77, -50.85) |
| CIE-LCH | lch(42.56, 52.68, 285.16°) |
| OKLab | oklab(50.93% -0.0241 -0.1458) |
| OKLCH | oklch(50.93% 0.148 260.6) |
| XYZ | xyz(14.3404, 12.8649, 47.6169) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.89
French Blue
#436BAD
ΔE00 3.46
Mid Blue
#276AB3
ΔE00 3.98
Medium Blue
#2C6FBB
ΔE00 5.15
Denim (survey)
#3B638C
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062B9 #B98730
analogous
#30A6B9 #3062B9 #4230B9
triadic
#3062B9 #B93062 #62B930
tetradic
#3062B9 #B930A6 #B98730 #30B942
square
#3062B9 #B930A6 #B98730 #30B942
split-complementary
#3062B9 #B94230 #A6B930
monochromatic
#172F58 #234888 #3062B9 #5482D3 #84A5DF
Accessibility & contrast
On white
5.88
#3062B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#3062B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062B9
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062B9 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336BBC
Deuteranopia (green-blind)
#105FB7
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3062b9; /* rgb */ color: rgb(48, 98, 185); /* oklch */ color: oklch(50.9% 0.148 260.6);
Tailwind
colors: {
custom: {
50: '#7b8ece',
500: '#3062b9',
950: '#000000',
},
}SCSS
$custom: #3062b9; $custom-light: #7b8ece; $custom-dark: #000000;
JSON
{
"hex": "#3062b9",
"rgb": {
"r": 48,
"g": 98,
"b": 185
},
"hsl": {
"h": 218.102,
"s": 58.798,
"l": 45.686
},
"oklch": {
"l": 0.50925,
"c": 0.14783,
"h": 260.6
},
"luminance": 0.12867
}Semantic roles & 50–950 ramp
primary
#3062B9
secondary
#C9AD7C
accent
#A946E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82