#3052BD#3052BD
#3052BD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.173 H 266.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3052BD |
|---|---|
| RGB | rgb(48, 82, 189) |
| HSL | hsl(226, 59%, 46%) |
| HSV | hsv(226, 75%, 74%) |
| CMYK | cmyk(74.6%, 56.6%, 0%, 25.9%) |
| CIE-LAB | lab(38.44, 25.70, -59.84) |
| CIE-LCH | lch(38.44, 65.13, 293.24°) |
| OKLab | oklab(47.88% -0.0108 -0.1726) |
| OKLCH | oklch(47.88% 0.173 266.4) |
| XYZ | xyz(13.4183, 10.3356, 49.4220) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.76
Cobalt
#0047AB
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.15
Warm Blue
#4B57DB
ΔE00 5.81
Blue (survey)
#0343DF
ΔE00 6.05
Denim
#1560BD
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3052BD #BD9B30
analogous
#3099BD #3052BD #5530BD
triadic
#3052BD #BD3052 #52BD30
tetradic
#3052BD #BD3099 #BD9B30 #30BD55
square
#3052BD #BD3099 #BD9B30 #30BD55
split-complementary
#3052BD #BD5530 #99BD30
monochromatic
#17285B #243D8C #3052BD #5674D4 #879DE0
Accessibility & contrast
On white
6.85
#3052BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#3052BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3052BD
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3052BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3052BD | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3052bd; /* rgb */ color: rgb(48, 82, 189); /* oklch */ color: oklch(47.9% 0.173 266.4);
Tailwind
colors: {
custom: {
50: '#7c82d2',
500: '#3052bd',
950: '#000000',
},
}SCSS
$custom: #3052bd; $custom-light: #7c82d2; $custom-dark: #000000;
JSON
{
"hex": "#3052bd",
"rgb": {
"r": 48,
"g": 82,
"b": 189
},
"hsl": {
"h": 225.532,
"s": 59.494,
"l": 46.471
},
"oklch": {
"l": 0.47881,
"c": 0.17294,
"h": 266.4
},
"luminance": 0.10337
}Semantic roles & 50–950 ramp
primary
#3052BD
secondary
#CAB87F
accent
#BD45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83