#3062C5#3062C5
#3062C5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.8% C 0.164 H 262.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3062C5 |
|---|---|
| RGB | rgb(48, 98, 197) |
| HSL | hsl(220, 61%, 48%) |
| HSV | hsv(220, 76%, 77%) |
| CMYK | cmyk(75.6%, 50.3%, 0%, 22.7%) |
| CIE-LAB | lab(43.35, 18.30, -56.54) |
| CIE-LCH | lch(43.35, 59.43, 287.93°) |
| OKLab | oklab(51.78% -0.0224 -0.1626) |
| OKLCH | oklch(51.78% 0.164 262.2) |
| XYZ | xyz(15.6610, 13.3932, 54.5723) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.77
French Blue
#436BAD
ΔE00 4.09
Mid Blue
#276AB3
ΔE00 4.86
Royal Blue
#4169E1
ΔE00 4.98
Azul
#1D5DEC
ΔE00 5.01
Sapphire
#0F52BA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062C5 #C59330
analogous
#30ACC5 #3062C5 #4930C5
triadic
#3062C5 #C53062 #62C530
tetradic
#3062C5 #C530AC #C59330 #30C549
square
#3062C5 #C530AC #C59330 #30C549
split-complementary
#3062C5 #C54930 #ACC530
monochromatic
#183163 #244A94 #3062C5 #5B85D7 #8CA9E3
Accessibility & contrast
On white
5.71
#3062C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#3062C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062C5
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062C5 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256EC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3062c5; /* rgb */ color: rgb(48, 98, 197); /* oklch */ color: oklch(51.8% 0.164 262.2);
Tailwind
colors: {
custom: {
50: '#7d8ed7',
500: '#3062c5',
950: '#000000',
},
}SCSS
$custom: #3062c5; $custom-light: #7d8ed7; $custom-dark: #000000;
JSON
{
"hex": "#3062c5",
"rgb": {
"r": 48,
"g": 98,
"b": 197
},
"hsl": {
"h": 219.866,
"s": 60.816,
"l": 48.039
},
"oklch": {
"l": 0.51784,
"c": 0.16413,
"h": 262.2
},
"luminance": 0.13395
}Semantic roles & 50–950 ramp
primary
#3062C5
secondary
#CDB584
accent
#AE44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83