#3052B6#3052B6
#3052B6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.163 H 266.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3052B6 |
|---|---|
| RGB | rgb(48, 82, 182) |
| HSL | hsl(225, 58%, 45%) |
| HSV | hsv(225, 74%, 71%) |
| CMYK | cmyk(73.6%, 54.9%, 0%, 28.6%) |
| CIE-LAB | lab(37.91, 23.08, -56.59) |
| CIE-LCH | lch(37.91, 61.12, 292.19°) |
| OKLab | oklab(47.32% -0.0112 -0.163) |
| OKLCH | oklch(47.32% 0.163 266.1) |
| XYZ | xyz(12.6768, 10.0390, 45.5165) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.43
Cobalt
#0047AB
ΔE00 4.39
Blue Blue
#2242C7
ΔE00 5.61
Denim Blue
#3B5B92
ΔE00 5.78
Denim
#1560BD
ΔE00 6.17
Dusk Blue
#26538D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3052B6 #B69430
analogous
#3095B6 #3052B6 #5130B6
triadic
#3052B6 #B63052 #52B630
tetradic
#3052B6 #B63095 #B69430 #30B651
square
#3052B6 #B63095 #B69430 #30B651
split-complementary
#3052B6 #B65130 #95B630
monochromatic
#162655 #233C86 #3052B6 #5272D1 #829ADE
Accessibility & contrast
On white
6.98
#3052B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#3052B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3052B6
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3052B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3052B6 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3052b6; /* rgb */ color: rgb(48, 82, 182); /* oklch */ color: oklch(47.3% 0.163 266.1);
Tailwind
colors: {
custom: {
50: '#7b82cd',
500: '#3052b6',
950: '#000000',
},
}SCSS
$custom: #3052b6; $custom-light: #7b82cd; $custom-dark: #000000;
JSON
{
"hex": "#3052b6",
"rgb": {
"r": 48,
"g": 82,
"b": 182
},
"hsl": {
"h": 224.776,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.4732,
"c": 0.16341,
"h": 266.1
},
"luminance": 0.1004
}Semantic roles & 50–950 ramp
primary
#3052B6
secondary
#C7B47B
accent
#BA46E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82