Nearest named color · #5C6ED4
#5C6ED4
Nearest named color: Royal Blue
#5C6ED4 (rgb(92 110 212), hsl(231 58% 60%), oklch(0.575 0.157 273)) is closest to the named color Royal Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5C6ED4
oklch(0.575 0.157 273)
Color conversions
- HEX
- #5c6ed4
- RGB
- rgb(92 110 212)
- HSL
- hsl(231 58% 60%)
- HWB
- hwb(231 36% 17%)
- OKLCH
- oklch(0.575 0.157 273)
- OKLab
- oklab(0.575 0.008 -0.156)
- CIE Lab
- lab(48.95 16.48 -55.76)
- LCH
- lch(48.95 58.15 286.5)
- CMYK
- cmyk(57% 48% 0% 17%)
Tints · Shades · Tones
Tints
- 6A7DD9
- 798CDF
- 899AE4
- 99A9E8
- A9B7ED
- B9C5F1
- CAD4F5
- DCE2F9
- EDF1FC
Shades
- 4F5FB8
- 42509D
- 364183
- 2A3369
- 1F2651
- 14193A
- 0A0E24
- 030410
- 000102
Tones
- 5F71CC
- 6273C4
- 6676BC
- 6978B4
- 6D79AB
- 717BA3
- 747D9B
- 787E92
- 7C7F89
Color harmonies
Complementary +180°
- 5C6ED4
Royal Blue
- 917600
≈ Bhūrā Brown
Analogous -30° +30°
- 5C6ED4
Royal Blue
- 0080C4
≈ Honolulu Blue
- 8C5DC4
≈ Lusty Lavender
Triadic +120° +240°
- 5C6ED4
Royal Blue
- C44D36
≈ Grenadier
- 00914C
≈ Capitalino Cactus
Split-complementary +150° +210°
- 5C6ED4
Royal Blue
- AE6400
≈ Ginger
- 6A8500
≈ Swamp Green
Tetradic +90° +180° +270°
- 5C6ED4
Royal Blue
- C04970
≈ Love Lord
- 917600
≈ Bhūrā Brown
- 008C7F
≈ Greenlake
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 30
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--royal-blue: #5c6ed4;
--royal-blue-rgb: 92 110 212;
--royal-blue-oklch: oklch(0.575 0.157 273);
}
.element {
color: var(--royal-blue);
background-color: hsl(231 58% 60%);
border-color: oklch(0.575 0.157 273);
}Tailwind CSS v4
@theme {
--color-royal-blue: #5c6ed4;
--color-royal-blue-50: #e7f3ff;
--color-royal-blue-100: #d8e5ff;
--color-royal-blue-200: #c0cfff;
--color-royal-blue-300: #a0b0ff;
--color-royal-blue-400: #8196fa;
--color-royal-blue-500: #667aec;
--color-royal-blue-600: #5667c7;
--color-royal-blue-700: #4553a0;
--color-royal-blue-800: #2f3d78;
--color-royal-blue-900: #202a55;
--color-royal-blue-950: #101739;
}SCSS
$royal-blue: #5c6ed4;
$royal-blue-rgb: 92, 110, 212;
$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);
}