#3062AB#3062AB
#3062AB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.0% C 0.129 H 258.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3062AB |
|---|---|
| RGB | rgb(48, 98, 171) |
| HSL | hsl(216, 56%, 43%) |
| HSV | hsv(216, 72%, 67%) |
| CMYK | cmyk(71.9%, 42.7%, 0%, 32.9%) |
| CIE-LAB | lab(41.69, 8.51, -44.02) |
| CIE-LCH | lch(41.69, 44.84, 280.94°) |
| OKLab | oklab(49.98% -0.0267 -0.1258) |
| OKLCH | oklch(49.98% 0.129 258) |
| XYZ | xyz(12.9346, 12.3026, 40.2131) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.20
Mid Blue
#276AB3
ΔE00 3.45
French Blue
#436BAD
ΔE00 3.50
Denim (survey)
#3B638C
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.23
Light Navy Blue
#2E5A88
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3062AB #AB7930
analogous
#309FAB #3062AB #3C30AB
triadic
#3062AB #AB3062 #62AB30
tetradic
#3062AB #AB309F #AB7930 #30AB3C
square
#3062AB #AB309F #AB7930 #30AB3C
split-complementary
#3062AB #AB3C30 #9FAB30
monochromatic
#152B4B #23477B #3062AB #4C80CD #7BA2DA
Accessibility & contrast
On white
6.07
#3062AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#3062AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3062AB
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3062AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3062AB | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F68AE
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #3062ab; /* rgb */ color: rgb(48, 98, 171); /* oklch */ color: oklch(50.0% 0.129 258.0);
Tailwind
colors: {
custom: {
50: '#788ec4',
500: '#3062ab',
950: '#000000',
},
}SCSS
$custom: #3062ab; $custom-light: #788ec4; $custom-dark: #000000;
JSON
{
"hex": "#3062ab",
"rgb": {
"r": 48,
"g": 98,
"b": 171
},
"hsl": {
"h": 215.61,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.49977,
"c": 0.12859,
"h": 258
},
"luminance": 0.12304
}Semantic roles & 50–950 ramp
primary
#3062AB
secondary
#C3A374
accent
#A248DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82