#3062B5#3062B5
#3062B5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.142 H 260.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3062B5 |
|---|---|
| RGB | rgb(48, 98, 181) |
| HSL | hsl(217, 58%, 45%) |
| HSV | hsv(217, 73%, 71%) |
| CMYK | cmyk(73.5%, 45.9%, 0%, 29%) |
| CIE-LAB | lab(42.31, 12.26, -48.92) |
| CIE-LCH | lch(42.31, 50.43, 284.08°) |
| OKLab | oklab(50.65% -0.0248 -0.1402) |
| OKLCH | oklch(50.65% 0.142 260) |
| XYZ | xyz(13.9241, 12.6984, 45.4243) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.82
French Blue
#436BAD
ΔE00 3.38
Mid Blue
#276AB3
ΔE00 3.77
Denim (survey)
#3B638C
ΔE00 4.86
Denim Blue
#3B5B92
ΔE00 4.99
Medium Blue
#2C6FBB
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062B5 #B58330
analogous
#30A4B5 #3062B5 #4130B5
triadic
#3062B5 #B53062 #62B530
tetradic
#3062B5 #B530A4 #B58330 #30B541
square
#3062B5 #B530A4 #B58330 #30B541
split-complementary
#3062B5 #B54130 #A4B530
monochromatic
#162E54 #234885 #3062B5 #5181D1 #82A4DE
Accessibility & contrast
On white
5.93
#3062B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#3062B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062B5
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062B5 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#1A5EB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3062b5; /* rgb */ color: rgb(48, 98, 181); /* oklch */ color: oklch(50.6% 0.142 260.0);
Tailwind
colors: {
custom: {
50: '#7a8ecc',
500: '#3062b5',
950: '#000000',
},
}SCSS
$custom: #3062b5; $custom-light: #7a8ecc; $custom-dark: #000000;
JSON
{
"hex": "#3062b5",
"rgb": {
"r": 48,
"g": 98,
"b": 181
},
"hsl": {
"h": 217.444,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.50648,
"c": 0.14234,
"h": 260
},
"luminance": 0.127
}Semantic roles & 50–950 ramp
primary
#3062B5
secondary
#C7AA7A
accent
#A746E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82