Nearest named color · #506FD1
#506FD1
Nearest named color: Royal Blue
#506FD1 (rgb(80 111 209), hsl(226 58% 57%), oklch(0.568 0.155 268)) is closest to the named color Royal Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#506FD1
oklch(0.568 0.155 268)
Color conversions
- HEX
- #506fd1
- RGB
- rgb(80 111 209)
- HSL
- hsl(226 58% 57%)
- HWB
- hwb(226 31% 18%)
- OKLCH
- oklch(0.568 0.155 268)
- OKLab
- oklab(0.568 -0.005 -0.155)
- CIE Lab
- lab(48.32 12.4 -55.12)
- LCH
- lch(48.32 56.49 282.7)
- CMYK
- cmyk(62% 47% 0% 18%)
Tints · Shades · Tones
Tints
- 607ED7
- 708CDC
- 819BE1
- 92A9E6
- A3B8EB
- B5C6F0
- C7D4F4
- DAE2F8
- ECF1FC
Shades
- 4460B5
- 39519B
- 2E4281
- 243468
- 1A2750
- 101A39
- 070E23
- 020410
- 000102
Tones
- 5572C9
- 5974C2
- 5E76BA
- 6378B2
- 687AAA
- 6D7BA2
- 717D9A
- 767E91
- 7B7F89
Color harmonies
Complementary +180°
- 506FD1
Royal Blue
- 937200
≈ Vermin Brown
Analogous -30° +30°
- 506FD1
Royal Blue
- 0080B8
≈ Meissen Blue
- 835EC5
≈ Fuchsia Blue
Triadic +120° +240°
- 506FD1
Royal Blue
- C14A40
≈ Chilli
- 1A8E3D
≈ Viper Green
Split-complementary +150° +210°
- 506FD1
Royal Blue
- B05E00
≈ Orangish Brown
- 718000
≈ Verde Tropa
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.63:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.53:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--royal-blue: #506fd1;
--royal-blue-rgb: 80 111 209;
--royal-blue-oklch: oklch(0.568 0.155 268);
}
.element {
color: var(--royal-blue);
background-color: hsl(226 58% 57%);
border-color: oklch(0.568 0.155 268);
}Tailwind CSS v4
@theme {
--color-royal-blue: #506fd1;
--color-royal-blue-50: #e4f4ff;
--color-royal-blue-100: #d4e6ff;
--color-royal-blue-200: #bad2ff;
--color-royal-blue-300: #99b3ff;
--color-royal-blue-400: #7799f9;
--color-royal-blue-500: #5b7dec;
--color-royal-blue-600: #4d6ac7;
--color-royal-blue-700: #3d55a0;
--color-royal-blue-800: #293f77;
--color-royal-blue-900: #1b2b54;
--color-royal-blue-950: #0c1839;
}SCSS
$royal-blue: #506fd1;
$royal-blue-rgb: 80, 111, 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);
}