#3054AB#3054AB
#3054AB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.146 H 264.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3054AB |
|---|---|
| RGB | rgb(48, 84, 171) |
| HSL | hsl(222, 56%, 43%) |
| HSV | hsv(222, 72%, 67%) |
| CMYK | cmyk(71.9%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.68, 17.62, -50.47) |
| CIE-LCH | lch(37.68, 53.46, 289.25°) |
| OKLab | oklab(46.89% -0.0139 -0.145) |
| OKLCH | oklch(46.89% 0.146 264.5) |
| XYZ | xyz(11.7373, 9.9081, 39.8141) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.56
Denim Blue
#3B5B92
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.46
Dusk Blue
#26538D
ΔE00 4.66
Cobalt (survey)
#1E488F
ΔE00 5.33
Dusky Blue
#475F94
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054AB #AB8730
analogous
#3091AB #3054AB #4930AB
triadic
#3054AB #AB3054 #54AB30
tetradic
#3054AB #AB3091 #AB8730 #30AB49
square
#3054AB #AB3091 #AB8730 #30AB49
split-complementary
#3054AB #AB4930 #91AB30
monochromatic
#15254B #233D7B #3054AB #4C71CD #7B97DA
Accessibility & contrast
On white
7.04
#3054AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#3054AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3054AB
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054AB | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3054ab; /* rgb */ color: rgb(48, 84, 171); /* oklch */ color: oklch(46.9% 0.146 264.5);
Tailwind
colors: {
custom: {
50: '#7883c5',
500: '#3054ab',
950: '#000000',
},
}SCSS
$custom: #3054ab; $custom-light: #7883c5; $custom-dark: #000000;
JSON
{
"hex": "#3054ab",
"rgb": {
"r": 48,
"g": 84,
"b": 171
},
"hsl": {
"h": 222.439,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.46892,
"c": 0.14566,
"h": 264.5
},
"luminance": 0.09909
}Semantic roles & 50–950 ramp
primary
#3054AB
secondary
#C3AC74
accent
#B348DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82