#3054BC#3054BC
#3054BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.169 H 265.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3054BC |
|---|---|
| RGB | rgb(48, 84, 188) |
| HSL | hsl(225, 59%, 46%) |
| HSV | hsv(225, 74%, 74%) |
| CMYK | cmyk(74.5%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(38.90, 24.02, -58.52) |
| CIE-LCH | lch(38.90, 63.25, 292.32°) |
| OKLab | oklab(48.2% -0.0123 -0.1687) |
| OKLCH | oklch(48.2% 0.169 265.8) |
| XYZ | xyz(13.4632, 10.5984, 48.9034) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.50
Cobalt
#0047AB
ΔE00 5.15
Denim
#1560BD
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 5.86
Warm Blue
#4B57DB
ΔE00 5.95
Denim Blue
#3B5B92
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054BC #BC9830
analogous
#309ABC #3054BC #5230BC
triadic
#3054BC #BC3054 #54BC30
tetradic
#3054BC #BC309A #BC9830 #30BC52
square
#3054BC #BC309A #BC9830 #30BC52
split-complementary
#3054BC #BC5230 #9ABC30
monochromatic
#17285A #243E8B #3054BC #5576D4 #869DE0
Accessibility & contrast
On white
6.73
#3054BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3054BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054BC
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054BC | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3054bc; /* rgb */ color: rgb(48, 84, 188); /* oklch */ color: oklch(48.2% 0.169 265.8);
Tailwind
colors: {
custom: {
50: '#7c83d1',
500: '#3054bc',
950: '#000000',
},
}SCSS
$custom: #3054bc; $custom-light: #7c83d1; $custom-dark: #000000;
JSON
{
"hex": "#3054bc",
"rgb": {
"r": 48,
"g": 84,
"b": 188
},
"hsl": {
"h": 224.571,
"s": 59.322,
"l": 46.275
},
"oklch": {
"l": 0.48202,
"c": 0.16911,
"h": 265.8
},
"luminance": 0.106
}Semantic roles & 50–950 ramp
primary
#3054BC
secondary
#CAB67E
accent
#BA45E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82