Warna bernama terdekat · #4F6FD0
#4F6FD0
Warna bernama terdekat: Royal Blue
#4F6FD0 (rgb(79 111 208), hsl(225 58% 56%), oklch(0.567 0.154 267.6)) paling mendekati warna bernama Royal Blue. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#4F6FD0
oklch(0.567 0.154 267.6)
Konversi warna
- HEX
- #4f6fd0
- RGB
- rgb(79 111 208)
- HSL
- hsl(225 58% 56%)
- HWB
- hwb(225 31% 18%)
- OKLCH
- oklch(0.567 0.154 267.6)
- OKLab
- oklab(0.567 -0.006 -0.154)
- CIE Lab
- lab(48.21 11.91 -54.73)
- LCH
- lch(48.21 56.01 282.3)
- CMYK
- cmyk(62% 47% 0% 18%)
Tint · Shade · Tone
Tint
- 5F7ED6
- 6F8CDB
- 809BE1
- 91A9E6
- A3B7EB
- B5C6EF
- C7D4F4
- D9E2F8
- ECF1FB
Shade
- 4460B5
- 38519A
- 2E4280
- 233467
- 19274F
- 101A39
- 070E23
- 020410
- 000102
Tone
- 5472C8
- 5974C1
- 5D76B9
- 6278B1
- 677AAA
- 6C7BA2
- 717D99
- 767E91
- 7B7F89
Harmoni warna
Komplementer +180°
- 4F6FD0
Royal Blue
- 937100
≈ Vermin Brown
Analog -30° +30°
- 4F6FD0
Royal Blue
- 007FB6
≈ Meissen Blue
- 825EC4
≈ Fuchsia Blue
Triadik +120° +240°
- 4F6FD0
Royal Blue
- C04A41
≈ Chilli
- 1D8E3C
≈ Green Ribbon
Split-komplementer +150° +210°
- 4F6FD0
Royal Blue
- B05E00
≈ Orangish Brown
- 718000
≈ Verde Tropa
Tetradik +90° +180° +270°
Kontras & aksesibilitas
Ag
AADi atas putih
WCAG 4.64:1 · APCA Lc 72
Ag
AADi atas hitam
WCAG 4.51:1 · APCA Lc 30
Warna teks terbaik: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
Cuplikan kode
CSS
:root {
--royal-blue: #4f6fd0;
--royal-blue-rgb: 79 111 208;
--royal-blue-oklch: oklch(0.567 0.154 267.6);
}
.element {
color: var(--royal-blue);
background-color: hsl(225 58% 56%);
border-color: oklch(0.567 0.154 267.6);
}Tailwind CSS v4
@theme {
--color-royal-blue: #4f6fd0;
--color-royal-blue-50: #e3f4ff;
--color-royal-blue-100: #d3e6ff;
--color-royal-blue-200: #bad2ff;
--color-royal-blue-300: #98b3ff;
--color-royal-blue-400: #7799f9;
--color-royal-blue-500: #5a7eeb;
--color-royal-blue-600: #4c6bc6;
--color-royal-blue-700: #3d559f;
--color-royal-blue-800: #283f77;
--color-royal-blue-900: #1b2b54;
--color-royal-blue-950: #0c1838;
}SCSS
$royal-blue: #4f6fd0;
$royal-blue-rgb: 79, 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);
}