#3062B3#3062B3
#3062B3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.140 H 259.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3062B3 |
|---|---|
| RGB | rgb(48, 98, 179) |
| HSL | hsl(217, 58%, 45%) |
| HSV | hsv(217, 73%, 70%) |
| CMYK | cmyk(73.2%, 45.3%, 0%, 29.8%) |
| CIE-LAB | lab(42.18, 11.51, -47.95) |
| CIE-LCH | lch(42.18, 49.31, 283.50°) |
| OKLab | oklab(50.51% -0.0251 -0.1373) |
| OKLCH | oklch(50.51% 0.14 259.6) |
| XYZ | xyz(13.7203, 12.6169, 44.3513) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.83
French Blue
#436BAD
ΔE00 3.37
Mid Blue
#276AB3
ΔE00 3.68
Denim (survey)
#3B638C
ΔE00 4.67
Denim Blue
#3B5B92
ΔE00 4.81
Medium Blue
#2C6FBB
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062B3 #B38130
analogous
#30A4B3 #3062B3 #3F30B3
triadic
#3062B3 #B33062 #62B330
tetradic
#3062B3 #B330A4 #B38130 #30B33F
square
#3062B3 #B330A4 #B38130 #30B33F
split-complementary
#3062B3 #B33F30 #A4B330
monochromatic
#162D52 #234883 #3062B3 #5081D0 #80A4DD
Accessibility & contrast
On white
5.96
#3062B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#3062B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062B3
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062B3 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3062b3; /* rgb */ color: rgb(48, 98, 179); /* oklch */ color: oklch(50.5% 0.140 259.6);
Tailwind
colors: {
custom: {
50: '#798eca',
500: '#3062b3',
950: '#000000',
},
}SCSS
$custom: #3062b3; $custom-light: #798eca; $custom-dark: #000000;
JSON
{
"hex": "#3062b3",
"rgb": {
"r": 48,
"g": 98,
"b": 179
},
"hsl": {
"h": 217.099,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.50511,
"c": 0.1396,
"h": 259.6
},
"luminance": 0.12618
}Semantic roles & 50–950 ramp
primary
#3062B3
secondary
#C6A979
accent
#A647E1
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82