#3062B8#3062B8
#3062B8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.9% C 0.146 H 260.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3062B8 |
|---|---|
| RGB | rgb(48, 98, 184) |
| HSL | hsl(218, 59%, 45%) |
| HSV | hsv(218, 74%, 72%) |
| CMYK | cmyk(73.9%, 46.7%, 0%, 27.8%) |
| CIE-LAB | lab(42.50, 13.39, -50.36) |
| CIE-LCH | lch(42.50, 52.11, 284.89°) |
| OKLab | oklab(50.86% -0.0243 -0.1444) |
| OKLCH | oklch(50.86% 0.146 260.5) |
| XYZ | xyz(14.2352, 12.8229, 47.0629) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.86
French Blue
#436BAD
ΔE00 3.44
Mid Blue
#276AB3
ΔE00 3.93
Medium Blue
#2C6FBB
ΔE00 5.13
Denim (survey)
#3B638C
ΔE00 5.14
Denim Blue
#3B5B92
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062B8 #B88630
analogous
#30A6B8 #3062B8 #4230B8
triadic
#3062B8 #B83062 #62B830
tetradic
#3062B8 #B830A6 #B88630 #30B842
square
#3062B8 #B830A6 #B88630 #30B842
split-complementary
#3062B8 #B84230 #A6B830
monochromatic
#172E57 #234887 #3062B8 #5382D2 #84A5DF
Accessibility & contrast
On white
5.89
#3062B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#3062B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062B8
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062B8 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3062b8; /* rgb */ color: rgb(48, 98, 184); /* oklch */ color: oklch(50.9% 0.146 260.5);
Tailwind
colors: {
custom: {
50: '#7a8ece',
500: '#3062b8',
950: '#000000',
},
}SCSS
$custom: #3062b8; $custom-light: #7a8ece; $custom-dark: #000000;
JSON
{
"hex": "#3062b8",
"rgb": {
"r": 48,
"g": 98,
"b": 184
},
"hsl": {
"h": 217.941,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.50855,
"c": 0.14645,
"h": 260.5
},
"luminance": 0.12824
}Semantic roles & 50–950 ramp
primary
#3062B8
secondary
#C8AC7C
accent
#A946E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82