#3054BD#3054BD
#3054BD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.170 H 265.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3054BD |
|---|---|
| RGB | rgb(48, 84, 189) |
| HSL | hsl(225, 59%, 46%) |
| HSV | hsv(225, 75%, 74%) |
| CMYK | cmyk(74.6%, 55.6%, 0%, 25.9%) |
| CIE-LAB | lab(38.97, 24.39, -58.98) |
| CIE-LCH | lch(38.97, 63.83, 292.47°) |
| OKLab | oklab(48.28% -0.0123 -0.17) |
| OKLCH | oklch(48.28% 0.17 265.9) |
| XYZ | xyz(13.5713, 10.6417, 49.4730) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.57
Cobalt
#0047AB
ΔE00 5.23
Denim
#1560BD
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 5.81
Warm Blue
#4B57DB
ΔE00 5.83
Denim Blue
#3B5B92
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054BD #BD9930
analogous
#309BBD #3054BD #5330BD
triadic
#3054BD #BD3054 #54BD30
tetradic
#3054BD #BD309B #BD9930 #30BD53
square
#3054BD #BD309B #BD9930 #30BD53
split-complementary
#3054BD #BD5330 #9BBD30
monochromatic
#17295B #243E8C #3054BD #5676D4 #879EE0
Accessibility & contrast
On white
6.71
#3054BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3054BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054BD
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054BD | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3054bd; /* rgb */ color: rgb(48, 84, 189); /* oklch */ color: oklch(48.3% 0.170 265.9);
Tailwind
colors: {
custom: {
50: '#7c83d2',
500: '#3054bd',
950: '#000000',
},
}SCSS
$custom: #3054bd; $custom-light: #7c83d2; $custom-dark: #000000;
JSON
{
"hex": "#3054bd",
"rgb": {
"r": 48,
"g": 84,
"b": 189
},
"hsl": {
"h": 224.681,
"s": 59.494,
"l": 46.471
},
"oklch": {
"l": 0.48281,
"c": 0.17047,
"h": 265.9
},
"luminance": 0.10643
}Semantic roles & 50–950 ramp
primary
#3054BD
secondary
#CAB77F
accent
#BA45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83