#3062B7#3062B7
#3062B7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.145 H 260.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3062B7 |
|---|---|
| RGB | rgb(48, 98, 183) |
| HSL | hsl(218, 58%, 45%) |
| HSV | hsv(218, 74%, 72%) |
| CMYK | cmyk(73.8%, 46.4%, 0%, 28.2%) |
| CIE-LAB | lab(42.43, 13.02, -49.88) |
| CIE-LCH | lch(42.43, 51.55, 284.63°) |
| OKLab | oklab(50.79% -0.0244 -0.143) |
| OKLCH | oklch(50.79% 0.145 260.3) |
| XYZ | xyz(14.1308, 12.7811, 46.5128) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.84
French Blue
#436BAD
ΔE00 3.41
Mid Blue
#276AB3
ΔE00 3.87
Denim (survey)
#3B638C
ΔE00 5.05
Medium Blue
#2C6FBB
ΔE00 5.11
Denim Blue
#3B5B92
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062B7 #B78530
analogous
#30A5B7 #3062B7 #4130B7
triadic
#3062B7 #B73062 #62B730
tetradic
#3062B7 #B730A5 #B78530 #30B741
square
#3062B7 #B730A5 #B78530 #30B741
split-complementary
#3062B7 #B74130 #A5B730
monochromatic
#172E56 #234887 #3062B7 #5282D2 #83A5DE
Accessibility & contrast
On white
5.90
#3062B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#3062B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062B7
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062B7 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#165EB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3062b7; /* rgb */ color: rgb(48, 98, 183); /* oklch */ color: oklch(50.8% 0.145 260.3);
Tailwind
colors: {
custom: {
50: '#7a8ecd',
500: '#3062b7',
950: '#000000',
},
}SCSS
$custom: #3062b7; $custom-light: #7a8ecd; $custom-dark: #000000;
JSON
{
"hex": "#3062b7",
"rgb": {
"r": 48,
"g": 98,
"b": 183
},
"hsl": {
"h": 217.778,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.50786,
"c": 0.14508,
"h": 260.3
},
"luminance": 0.12783
}Semantic roles & 50–950 ramp
primary
#3062B7
secondary
#C8AB7B
accent
#A846E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82