#3054B3#3054B3
#3054B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.157 H 265.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3054B3 |
|---|---|
| RGB | rgb(48, 84, 179) |
| HSL | hsl(224, 58%, 45%) |
| HSV | hsv(224, 73%, 70%) |
| CMYK | cmyk(73.2%, 53.1%, 0%, 29.8%) |
| CIE-LAB | lab(38.24, 20.64, -54.30) |
| CIE-LCH | lch(38.24, 58.09, 290.81°) |
| OKLab | oklab(47.5% -0.0131 -0.1562) |
| OKLCH | oklch(47.5% 0.157 265.2) |
| XYZ | xyz(12.5231, 10.2224, 43.9522) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.24
Cobalt
#0047AB
ΔE00 4.64
Denim Blue
#3B5B92
ΔE00 5.04
Denim
#1560BD
ΔE00 5.46
Dusk Blue
#26538D
ΔE00 5.66
Dusky Blue
#475F94
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054B3 #B38F30
analogous
#3096B3 #3054B3 #4D30B3
triadic
#3054B3 #B33054 #54B330
tetradic
#3054B3 #B33096 #B38F30 #30B34D
square
#3054B3 #B33096 #B38F30 #30B34D
split-complementary
#3054B3 #B34D30 #96B330
monochromatic
#162752 #233D83 #3054B3 #5073D0 #809ADD
Accessibility & contrast
On white
6.90
#3054B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3054B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054B3
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054B3 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3054b3; /* rgb */ color: rgb(48, 84, 179); /* oklch */ color: oklch(47.5% 0.157 265.2);
Tailwind
colors: {
custom: {
50: '#7a83ca',
500: '#3054b3',
950: '#000000',
},
}SCSS
$custom: #3054b3; $custom-light: #7a83ca; $custom-dark: #000000;
JSON
{
"hex": "#3054b3",
"rgb": {
"r": 48,
"g": 84,
"b": 179
},
"hsl": {
"h": 223.511,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.47497,
"c": 0.1568,
"h": 265.2
},
"luminance": 0.10224
}Semantic roles & 50–950 ramp
primary
#3054B3
secondary
#C6B179
accent
#B747E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82