#3054C6#3054C6
#3054C6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.183 H 266.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3054C6 |
|---|---|
| RGB | rgb(48, 84, 198) |
| HSL | hsl(226, 61%, 48%) |
| HSV | hsv(226, 76%, 78%) |
| CMYK | cmyk(75.8%, 57.6%, 0%, 22.4%) |
| CIE-LAB | lab(39.66, 27.75, -63.11) |
| CIE-LCH | lch(39.66, 68.94, 293.74°) |
| OKLab | oklab(49.01% -0.0118 -0.1822) |
| OKLCH | oklch(49.01% 0.183 266.3) |
| XYZ | xyz(14.5787, 11.0446, 54.7786) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 4.75
Azul
#1D5DEC
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.78
Cobalt
#0047AB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054C6 #C6A230
analogous
#309FC6 #3054C6 #5730C6
triadic
#3054C6 #C63054 #54C630
tetradic
#3054C6 #C6309F #C6A230 #30C657
square
#3054C6 #C6309F #C6A230 #30C657
split-complementary
#3054C6 #C65730 #9FC630
monochromatic
#182A63 #243F95 #3054C6 #5C79D7 #8DA2E3
Accessibility & contrast
On white
6.54
#3054C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3054C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054C6
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054C6 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3054c6; /* rgb */ color: rgb(48, 84, 198); /* oklch */ color: oklch(49.0% 0.183 266.3);
Tailwind
colors: {
custom: {
50: '#7e83d8',
500: '#3054c6',
950: '#000000',
},
}SCSS
$custom: #3054c6; $custom-light: #7e83d8; $custom-dark: #000000;
JSON
{
"hex": "#3054c6",
"rgb": {
"r": 48,
"g": 84,
"b": 198
},
"hsl": {
"h": 225.6,
"s": 60.976,
"l": 48.235
},
"oklch": {
"l": 0.49011,
"c": 0.18254,
"h": 266.3
},
"luminance": 0.11046
}Semantic roles & 50–950 ramp
primary
#3054C6
secondary
#CEBC84
accent
#BE44E4
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A15
muted
#7C7C83