Warna bernama terdekat · #5E6ED4
#5E6ED4
Warna bernama terdekat: Royal Blue
#5E6ED4 (rgb(94 110 212), hsl(232 58% 60%), oklch(0.576 0.156 273.8)) paling mendekati warna bernama Royal Blue. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#5E6ED4
oklch(0.576 0.156 273.8)
Konversi warna
- HEX
- #5e6ed4
- RGB
- rgb(94 110 212)
- HSL
- hsl(232 58% 60%)
- HWB
- hwb(232 37% 17%)
- OKLCH
- oklch(0.576 0.156 273.8)
- OKLab
- oklab(0.576 0.01 -0.156)
- CIE Lab
- lab(49.08 16.95 -55.54)
- LCH
- lch(49.08 58.07 287)
- CMYK
- cmyk(56% 48% 0% 17%)
Tint · Shade · Tone
Tint
- 6C7DD9
- 7B8CDF
- 8A9AE4
- 9AA9E8
- AAB7ED
- BAC5F1
- CBD4F5
- DCE2F9
- EDF1FC
Shade
- 515FB8
- 44509D
- 374183
- 2B3369
- 1F2651
- 14193A
- 0A0E24
- 030410
- 000102
Tone
- 6171CC
- 6473C4
- 6776BC
- 6A78B4
- 6E79AB
- 717BA3
- 757D9B
- 797E92
- 7C7F89
Harmoni warna
Komplementer +180°
- 5E6ED4
Royal Blue
- 917700
≈ Bhūrā Brown
Analog -30° +30°
- 5E6ED4
Royal Blue
- 0080C6
≈ Blue Aster
- 8E5DC3
≈ Lusty Lavender
Triadik +120° +240°
- 5E6ED4
Royal Blue
- C44E35
≈ Trinidad
- 00914F
≈ Moss
Split-komplementer +150° +210°
- 5E6ED4
Royal Blue
- AE6500
≈ Ginger
- 688600
≈ Swamp Green
Tetradik +90° +180° +270°
- 5E6ED4
Royal Blue
- C0496F
≈ Vibrant Red
- 917700
≈ Bhūrā Brown
- 008C80
≈ Porcelain Green
Kontras & aksesibilitas
Ag
AADi atas putih
WCAG 4.50:1 · APCA Lc 71
Ag
AADi atas hitam
WCAG 4.65:1 · APCA Lc 31
Warna teks terbaik: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Cuplikan kode
CSS
:root {
--royal-blue: #5e6ed4;
--royal-blue-rgb: 94 110 212;
--royal-blue-oklch: oklch(0.576 0.156 273.8);
}
.element {
color: var(--royal-blue);
background-color: hsl(232 58% 60%);
border-color: oklch(0.576 0.156 273.8);
}Tailwind CSS v4
@theme {
--color-royal-blue: #5e6ed4;
--color-royal-blue-50: #e8f2ff;
--color-royal-blue-100: #d9e4ff;
--color-royal-blue-200: #c1cfff;
--color-royal-blue-300: #a1b0ff;
--color-royal-blue-400: #8295fa;
--color-royal-blue-500: #6879ec;
--color-royal-blue-600: #5867c7;
--color-royal-blue-700: #4652a0;
--color-royal-blue-800: #303d78;
--color-royal-blue-900: #202a54;
--color-royal-blue-950: #101739;
}SCSS
$royal-blue: #5e6ed4;
$royal-blue-rgb: 94, 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);
}