#3054BE#3054BE
#3054BE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.172 H 265.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3054BE |
|---|---|
| RGB | rgb(48, 84, 190) |
| HSL | hsl(225, 60%, 47%) |
| HSV | hsv(225, 75%, 75%) |
| CMYK | cmyk(74.7%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(39.05, 24.77, -59.44) |
| CIE-LCH | lch(39.05, 64.40, 292.62°) |
| OKLab | oklab(48.36% -0.0122 -0.1714) |
| OKLCH | oklch(48.36% 0.172 265.9) |
| XYZ | xyz(13.6802, 10.6852, 50.0467) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.64
Cobalt
#0047AB
ΔE00 5.30
Warm Blue
#4B57DB
ΔE00 5.71
Denim
#1560BD
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 5.76
Azul
#1D5DEC
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054BE #BE9A30
analogous
#309BBE #3054BE #5330BE
triadic
#3054BE #BE3054 #54BE30
tetradic
#3054BE #BE309B #BE9A30 #30BE53
square
#3054BE #BE309B #BE9A30 #30BE53
split-complementary
#3054BE #BE5330 #9BBE30
monochromatic
#17295C #243E8D #3054BE #5777D4 #889EE1
Accessibility & contrast
On white
6.69
#3054BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#3054BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054BE
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054BE | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3054be; /* rgb */ color: rgb(48, 84, 190); /* oklch */ color: oklch(48.4% 0.172 265.9);
Tailwind
colors: {
custom: {
50: '#7c83d2',
500: '#3054be',
950: '#000000',
},
}SCSS
$custom: #3054be; $custom-light: #7c83d2; $custom-dark: #000000;
JSON
{
"hex": "#3054be",
"rgb": {
"r": 48,
"g": 84,
"b": 190
},
"hsl": {
"h": 224.789,
"s": 59.664,
"l": 46.667
},
"oklch": {
"l": 0.48361,
"c": 0.17183,
"h": 265.9
},
"luminance": 0.10687
}Semantic roles & 50–950 ramp
primary
#3054BE
secondary
#CBB77F
accent
#BB45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83