#3054BA#3054BA
#3054BA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.166 H 265.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3054BA |
|---|---|
| RGB | rgb(48, 84, 186) |
| HSL | hsl(224, 59%, 46%) |
| HSV | hsv(224, 74%, 73%) |
| CMYK | cmyk(74.2%, 54.8%, 0%, 27.1%) |
| CIE-LAB | lab(38.75, 23.27, -57.59) |
| CIE-LCH | lch(38.75, 62.11, 292.00°) |
| OKLab | oklab(48.04% -0.0125 -0.1659) |
| OKLCH | oklch(48.04% 0.166 265.7) |
| XYZ | xyz(13.2491, 10.5128, 47.7758) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.39
Cobalt
#0047AB
ΔE00 5.01
Denim
#1560BD
ΔE00 5.60
Denim Blue
#3B5B92
ΔE00 5.83
Blue Blue
#2242C7
ΔE00 5.98
Warm Blue
#4B57DB
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054BA #BA9630
analogous
#3099BA #3054BA #5130BA
triadic
#3054BA #BA3054 #54BA30
tetradic
#3054BA #BA3099 #BA9630 #30BA51
square
#3054BA #BA3099 #BA9630 #30BA51
split-complementary
#3054BA #BA5130 #99BA30
monochromatic
#172859 #233E89 #3054BA #5475D3 #859DDF
Accessibility & contrast
On white
6.77
#3054BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3054BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054BA
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054BA | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3054ba; /* rgb */ color: rgb(48, 84, 186); /* oklch */ color: oklch(48.0% 0.166 265.7);
Tailwind
colors: {
custom: {
50: '#7c83cf',
500: '#3054ba',
950: '#000000',
},
}SCSS
$custom: #3054ba; $custom-light: #7c83cf; $custom-dark: #000000;
JSON
{
"hex": "#3054ba",
"rgb": {
"r": 48,
"g": 84,
"b": 186
},
"hsl": {
"h": 224.348,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.48043,
"c": 0.1664,
"h": 265.7
},
"luminance": 0.10514
}Semantic roles & 50–950 ramp
primary
#3054BA
secondary
#C9B57D
accent
#B946E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82