Warna bernama terdekat · #516FD0
#516FD0
Warna bernama terdekat: Royal Blue
#516FD0 (rgb(81 111 208), hsl(226 57% 57%), oklch(0.568 0.153 268.3)) paling mendekati warna bernama Royal Blue. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#516FD0
oklch(0.568 0.153 268.3)
Konversi warna
- HEX
- #516fd0
- RGB
- rgb(81 111 208)
- HSL
- hsl(226 57% 57%)
- HWB
- hwb(226 32% 18%)
- OKLCH
- oklch(0.568 0.153 268.3)
- OKLab
- oklab(0.568 -0.005 -0.153)
- CIE Lab
- lab(48.32 12.34 -54.54)
- LCH
- lch(48.32 55.91 282.7)
- CMYK
- cmyk(61% 47% 0% 18%)
Tint · Shade · Tone
Tint
- 617ED6
- 718CDB
- 819BE1
- 92A9E6
- A4B7EB
- B5C6EF
- C7D4F4
- DAE2F8
- ECF1FB
Shade
- 4560B5
- 3A519A
- 2F4280
- 243467
- 1A274F
- 101A39
- 070E23
- 020410
- 000102
Tone
- 5572C8
- 5A74C1
- 5F76B9
- 6378B1
- 687AA9
- 6D7BA2
- 727D99
- 767E91
- 7B7F89
Harmoni warna
Komplementer +180°
- 516FD0
Royal Blue
- 937200
≈ Vermin Brown
Analog -30° +30°
- 516FD0
Royal Blue
- 007FB8
≈ Meissen Blue
- 835EC4
≈ Fuchsia Blue
Triadik +120° +240°
- 516FD0
Royal Blue
- C04B40
≈ Chilli
- 1B8E3E
≈ Green Ribbon
Split-komplementer +150° +210°
- 516FD0
Royal Blue
- B05F00
≈ Orange Brown
- 708000
≈ Verde Tropa
Tetradik +90° +180° +270°
Kontras & aksesibilitas
Ag
AADi atas putih
WCAG 4.63:1 · APCA Lc 72
Ag
AADi atas hitam
WCAG 4.53:1 · APCA Lc 30
Warna teks terbaik: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Cuplikan kode
CSS
:root {
--royal-blue: #516fd0;
--royal-blue-rgb: 81 111 208;
--royal-blue-oklch: oklch(0.568 0.153 268.3);
}
.element {
color: var(--royal-blue);
background-color: hsl(226 57% 57%);
border-color: oklch(0.568 0.153 268.3);
}Tailwind CSS v4
@theme {
--color-royal-blue: #516fd0;
--color-royal-blue-50: #e4f4ff;
--color-royal-blue-100: #d4e6ff;
--color-royal-blue-200: #bbd1ff;
--color-royal-blue-300: #99b3ff;
--color-royal-blue-400: #7899f9;
--color-royal-blue-500: #5c7dea;
--color-royal-blue-600: #4e6ac6;
--color-royal-blue-700: #3e559f;
--color-royal-blue-800: #2a3f77;
--color-royal-blue-900: #1c2b54;
--color-royal-blue-950: #0c1838;
}SCSS
$royal-blue: #516fd0;
$royal-blue-rgb: 81, 111, 208;
$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);
}