#3062C2#3062C2
#3062C2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.6% C 0.160 H 261.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3062C2 |
|---|---|
| RGB | rgb(48, 98, 194) |
| HSL | hsl(219, 60%, 47%) |
| HSV | hsv(219, 75%, 76%) |
| CMYK | cmyk(75.3%, 49.5%, 0%, 23.9%) |
| CIE-LAB | lab(43.15, 17.16, -55.13) |
| CIE-LCH | lch(43.15, 57.74, 287.29°) |
| OKLab | oklab(51.57% -0.0228 -0.1584) |
| OKLCH | oklch(51.57% 0.16 261.8) |
| XYZ | xyz(15.3207, 13.2571, 52.7799) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.49
French Blue
#436BAD
ΔE00 3.89
Mid Blue
#276AB3
ΔE00 4.61
Royal Blue
#4169E1
ΔE00 5.32
Azul
#1D5DEC
ΔE00 5.38
Sapphire
#0F52BA
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062C2 #C29030
analogous
#30ABC2 #3062C2 #4730C2
triadic
#3062C2 #C23062 #62C230
tetradic
#3062C2 #C230AB #C29030 #30C247
square
#3062C2 #C230AB #C29030 #30C247
split-complementary
#3062C2 #C24730 #ABC230
monochromatic
#183060 #244991 #3062C2 #5984D6 #8AA8E2
Accessibility & contrast
On white
5.75
#3062C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#3062C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062C2
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062C2 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3062c2; /* rgb */ color: rgb(48, 98, 194); /* oklch */ color: oklch(51.6% 0.160 261.8);
Tailwind
colors: {
custom: {
50: '#7d8ed5',
500: '#3062c2',
950: '#000000',
},
}SCSS
$custom: #3062c2; $custom-light: #7d8ed5; $custom-dark: #000000;
JSON
{
"hex": "#3062c2",
"rgb": {
"r": 48,
"g": 98,
"b": 194
},
"hsl": {
"h": 219.452,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.51565,
"c": 0.16008,
"h": 261.8
},
"luminance": 0.13259
}Semantic roles & 50–950 ramp
primary
#3062C2
secondary
#CCB382
accent
#AD44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83