#3052B7#3052B7
#3052B7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.165 H 266.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3052B7 |
|---|---|
| RGB | rgb(48, 82, 183) |
| HSL | hsl(225, 58%, 45%) |
| HSV | hsv(225, 74%, 72%) |
| CMYK | cmyk(73.8%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(37.99, 23.46, -57.06) |
| CIE-LCH | lch(37.99, 61.69, 292.35°) |
| OKLab | oklab(47.4% -0.0111 -0.1644) |
| OKLCH | oklch(47.4% 0.165 266.1) |
| XYZ | xyz(12.7805, 10.0805, 46.0627) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.45
Cobalt
#0047AB
ΔE00 4.45
Blue Blue
#2242C7
ΔE00 5.53
Denim Blue
#3B5B92
ΔE00 5.89
Denim
#1560BD
ΔE00 6.19
Dusk Blue
#26538D
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3052B7 #B79530
analogous
#3095B7 #3052B7 #5130B7
triadic
#3052B7 #B73052 #52B730
tetradic
#3052B7 #B73095 #B79530 #30B751
square
#3052B7 #B73095 #B79530 #30B751
split-complementary
#3052B7 #B75130 #95B730
monochromatic
#172756 #233C87 #3052B7 #5273D2 #839ADE
Accessibility & contrast
On white
6.96
#3052B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#3052B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3052B7
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3052B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3052B7 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3052b7; /* rgb */ color: rgb(48, 82, 183); /* oklch */ color: oklch(47.4% 0.165 266.1);
Tailwind
colors: {
custom: {
50: '#7b82cd',
500: '#3052b7',
950: '#000000',
},
}SCSS
$custom: #3052b7; $custom-light: #7b82cd; $custom-dark: #000000;
JSON
{
"hex": "#3052b7",
"rgb": {
"r": 48,
"g": 82,
"b": 183
},
"hsl": {
"h": 224.889,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.47399,
"c": 0.16479,
"h": 266.1
},
"luminance": 0.10082
}Semantic roles & 50–950 ramp
primary
#3052B7
secondary
#C8B47B
accent
#BA46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82