Nearest named color · #5471D1
#5471D1
Nearest named color: Royal Blue
#5471D1 (rgb(84 113 209), hsl(226 58% 57%), oklch(0.574 0.151 268.7)) is closest to the named color Royal Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5471D1
oklch(0.574 0.151 268.7)
Color conversions
- HEX
- #5471d1
- RGB
- rgb(84 113 209)
- HSL
- hsl(226 58% 57%)
- HWB
- hwb(226 33% 18%)
- OKLCH
- oklch(0.574 0.151 268.7)
- OKLab
- oklab(0.574 -0.004 -0.151)
- CIE Lab
- lab(49.1 12.11 -53.85)
- LCH
- lch(49.1 55.2 282.7)
- CMYK
- cmyk(60% 46% 0% 18%)
Tints · Shades · Tones
Tints
- 6380D7
- 738EDC
- 849CE1
- 94AAE6
- A5B8EB
- B7C6F0
- C8D5F4
- DAE3F8
- EDF1FC
Shades
- 4861B5
- 3C529B
- 314381
- 263568
- 1B2750
- 111A39
- 080E23
- 020410
- 000102
Tones
- 5873C9
- 5C76C2
- 6177BA
- 6579B2
- 6A7BAA
- 6E7CA2
- 737D9A
- 777E91
- 7C7F89
Color harmonies
Complementary +180°
- 5471D1
Royal Blue
- 957400
≈ Bhūrā Brown
Analogous -30° +30°
- 5471D1
Royal Blue
- 0081BB
≈ Tall Ships
- 8661C4
≈ Lusty Lavender
Triadic +120° +240°
- 5471D1
Royal Blue
- C24E42
≈ Sweet Baby Rose
- 1F9042
≈ Green Ribbon
Split-complementary +150° +210°
- 5471D1
Royal Blue
- B26100
≈ Orange Brown
- 718300
≈ Swamp Green
Tetradic +90° +180° +270°
- 5471D1
Royal Blue
- BC4B77
≈ Lake Red
- 957400
≈ Bhūrā Brown
- 008D79
≈ Emerald Enchantment
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--royal-blue: #5471d1;
--royal-blue-rgb: 84 113 209;
--royal-blue-oklch: oklch(0.574 0.151 268.7);
}
.element {
color: var(--royal-blue);
background-color: hsl(226 58% 57%);
border-color: oklch(0.574 0.151 268.7);
}Tailwind CSS v4
@theme {
--color-royal-blue: #5471d1;
--color-royal-blue-50: #e5f4ff;
--color-royal-blue-100: #d5e6ff;
--color-royal-blue-200: #bcd1ff;
--color-royal-blue-300: #9ab3ff;
--color-royal-blue-400: #7999f7;
--color-royal-blue-500: #5d7de9;
--color-royal-blue-600: #4f6ac5;
--color-royal-blue-700: #3f559e;
--color-royal-blue-800: #2a3f76;
--color-royal-blue-900: #1c2b53;
--color-royal-blue-950: #0d1838;
}SCSS
$royal-blue: #5471d1;
$royal-blue-rgb: 84, 113, 209;
$royal-blue-light: mix(#fff, $royal-blue, 20%);
$royal-blue-dark: mix(#000, $royal-blue, 20%);
.element {
color: $royal-blue;
box-shadow: 0 0 0 2px rgba($royal-blue, 0.35);
}