#3054BF#3054BF
#3054BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.173 H 266.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3054BF |
|---|---|
| RGB | rgb(48, 84, 191) |
| HSL | hsl(225, 60%, 47%) |
| HSV | hsv(225, 75%, 75%) |
| CMYK | cmyk(74.9%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(39.12, 25.14, -59.90) |
| CIE-LCH | lch(39.12, 64.97, 292.77°) |
| OKLab | oklab(48.44% -0.0122 -0.1727) |
| OKLCH | oklch(48.44% 0.173 266) |
| XYZ | xyz(13.7899, 10.7291, 50.6243) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.71
Cobalt
#0047AB
ΔE00 5.38
Warm Blue
#4B57DB
ΔE00 5.58
Blue Blue
#2242C7
ΔE00 5.72
Denim
#1560BD
ΔE00 5.77
Azul
#1D5DEC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054BF #BF9B30
analogous
#309CBF #3054BF #5330BF
triadic
#3054BF #BF3054 #54BF30
tetradic
#3054BF #BF309C #BF9B30 #30BF53
square
#3054BF #BF309C #BF9B30 #30BF53
split-complementary
#3054BF #BF5330 #9CBF30
monochromatic
#17295D #243E8E #3054BF #5777D5 #889FE1
Accessibility & contrast
On white
6.67
#3054BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3054BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054BF
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054BF | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3054bf; /* rgb */ color: rgb(48, 84, 191); /* oklch */ color: oklch(48.4% 0.173 266.0);
Tailwind
colors: {
custom: {
50: '#7d83d3',
500: '#3054bf',
950: '#000000',
},
}SCSS
$custom: #3054bf; $custom-light: #7d83d3; $custom-dark: #000000;
JSON
{
"hex": "#3054bf",
"rgb": {
"r": 48,
"g": 84,
"b": 191
},
"hsl": {
"h": 224.895,
"s": 59.833,
"l": 46.863
},
"oklch": {
"l": 0.48442,
"c": 0.17317,
"h": 266
},
"luminance": 0.10731
}Semantic roles & 50–950 ramp
primary
#3054BF
secondary
#CBB880
accent
#BB45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83