#3054C2#3054C2
#3054C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.177 H 266.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3054C2 |
|---|---|
| RGB | rgb(48, 84, 194) |
| HSL | hsl(225, 60%, 47%) |
| HSV | hsv(225, 75%, 76%) |
| CMYK | cmyk(75.3%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.35, 26.26, -61.28) |
| CIE-LCH | lch(39.35, 66.67, 293.20°) |
| OKLab | oklab(48.68% -0.012 -0.1768) |
| OKLCH | oklch(48.68% 0.177 266.1) |
| XYZ | xyz(14.1234, 10.8625, 52.3808) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.97
Warm Blue
#4B57DB
ΔE00 5.22
Blue Blue
#2242C7
ΔE00 5.60
Cobalt
#0047AB
ΔE00 5.64
Azul
#1D5DEC
ΔE00 5.84
Denim
#1560BD
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054C2 #C29E30
analogous
#309DC2 #3054C2 #5530C2
triadic
#3054C2 #C23054 #54C230
tetradic
#3054C2 #C2309D #C29E30 #30C255
square
#3054C2 #C2309D #C29E30 #30C255
split-complementary
#3054C2 #C25530 #9DC230
monochromatic
#182A60 #243F91 #3054C2 #5978D6 #8AA0E2
Accessibility & contrast
On white
6.62
#3054C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#3054C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054C2
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054C2 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3054c2; /* rgb */ color: rgb(48, 84, 194); /* oklch */ color: oklch(48.7% 0.177 266.1);
Tailwind
colors: {
custom: {
50: '#7d83d5',
500: '#3054c2',
950: '#000000',
},
}SCSS
$custom: #3054c2; $custom-light: #7d83d5; $custom-dark: #000000;
JSON
{
"hex": "#3054c2",
"rgb": {
"r": 48,
"g": 84,
"b": 194
},
"hsl": {
"h": 225.205,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.48684,
"c": 0.17721,
"h": 266.1
},
"luminance": 0.10864
}Semantic roles & 50–950 ramp
primary
#3054C2
secondary
#CCBA82
accent
#BC44E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83