#3062B2#3062B2
#3062B2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.138 H 259.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3062B2 |
|---|---|
| RGB | rgb(48, 98, 178) |
| HSL | hsl(217, 58%, 44%) |
| HSV | hsv(217, 73%, 70%) |
| CMYK | cmyk(73%, 44.9%, 0%, 30.2%) |
| CIE-LAB | lab(42.12, 11.14, -47.46) |
| CIE-LCH | lch(42.12, 48.75, 283.20°) |
| OKLab | oklab(50.44% -0.0253 -0.1359) |
| OKLCH | oklch(50.44% 0.138 259.4) |
| XYZ | xyz(13.6196, 12.5766, 43.8206) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.85
French Blue
#436BAD
ΔE00 3.37
Mid Blue
#276AB3
ΔE00 3.64
Denim (survey)
#3B638C
ΔE00 4.58
Denim Blue
#3B5B92
ΔE00 4.73
Medium Blue
#2C6FBB
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062B2 #B28030
analogous
#30A3B2 #3062B2 #3F30B2
triadic
#3062B2 #B23062 #62B230
tetradic
#3062B2 #B230A3 #B28030 #30B23F
square
#3062B2 #B230A3 #B28030 #30B23F
split-complementary
#3062B2 #B23F30 #A3B230
monochromatic
#162D52 #234782 #3062B2 #5081D0 #80A3DD
Accessibility & contrast
On white
5.97
#3062B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#3062B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062B2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062B2 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#205EB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3062b2; /* rgb */ color: rgb(48, 98, 178); /* oklch */ color: oklch(50.4% 0.138 259.4);
Tailwind
colors: {
custom: {
50: '#798ec9',
500: '#3062b2',
950: '#000000',
},
}SCSS
$custom: #3062b2; $custom-light: #798ec9; $custom-dark: #000000;
JSON
{
"hex": "#3062b2",
"rgb": {
"r": 48,
"g": 98,
"b": 178
},
"hsl": {
"h": 216.923,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.50444,
"c": 0.13822,
"h": 259.4
},
"luminance": 0.12578
}Semantic roles & 50–950 ramp
primary
#3062B2
secondary
#C6A878
accent
#A647E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82