#3062C1#3062C1
#3062C1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.159 H 261.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3062C1 |
|---|---|
| RGB | rgb(48, 98, 193) |
| HSL | hsl(219, 60%, 47%) |
| HSV | hsv(219, 75%, 76%) |
| CMYK | cmyk(75.1%, 49.2%, 0%, 24.3%) |
| CIE-LAB | lab(43.08, 16.79, -54.66) |
| CIE-LCH | lch(43.08, 57.18, 287.07°) |
| OKLab | oklab(51.49% -0.0229 -0.1571) |
| OKLCH | oklch(51.49% 0.159 261.7) |
| XYZ | xyz(15.2088, 13.2123, 52.1904) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.40
French Blue
#436BAD
ΔE00 3.83
Mid Blue
#276AB3
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 5.38
Medium Blue
#2C6FBB
ΔE00 5.41
Royal Blue
#4169E1
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062C1 #C18F30
analogous
#30ABC1 #3062C1 #4630C1
triadic
#3062C1 #C13062 #62C130
tetradic
#3062C1 #C130AB #C18F30 #30C146
square
#3062C1 #C130AB #C18F30 #30C146
split-complementary
#3062C1 #C14630 #ABC130
monochromatic
#18305F #244990 #3062C1 #5984D6 #8AA8E2
Accessibility & contrast
On white
5.76
#3062C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#3062C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062C1
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062C1 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6DC4
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3062c1; /* rgb */ color: rgb(48, 98, 193); /* oklch */ color: oklch(51.5% 0.159 261.7);
Tailwind
colors: {
custom: {
50: '#7c8ed4',
500: '#3062c1',
950: '#000000',
},
}SCSS
$custom: #3062c1; $custom-light: #7c8ed4; $custom-dark: #000000;
JSON
{
"hex": "#3062c1",
"rgb": {
"r": 48,
"g": 98,
"b": 193
},
"hsl": {
"h": 219.31,
"s": 60.166,
"l": 47.255
},
"oklch": {
"l": 0.51493,
"c": 0.15872,
"h": 261.7
},
"luminance": 0.13214
}Semantic roles & 50–950 ramp
primary
#3062C1
secondary
#CCB281
accent
#AD44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83