Warna bernama terdekat · #4A70CE
#4A70CE
Warna bernama terdekat: Royal Blue
#4A70CE (rgb(74 112 206), hsl(223 57% 55%), oklch(0.565 0.151 265.3)) paling mendekati warna bernama Royal Blue. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#4A70CE
oklch(0.565 0.151 265.3)
Konversi warna
- HEX
- #4a70ce
- RGB
- rgb(74 112 206)
- HSL
- hsl(223 57% 55%)
- HWB
- hwb(223 29% 19%)
- OKLCH
- oklch(0.565 0.151 265.3)
- OKLab
- oklab(0.565 -0.012 -0.151)
- CIE Lab
- lab(48.11 9.72 -53.77)
- LCH
- lch(48.11 54.64 280.3)
- CMYK
- cmyk(64% 46% 0% 19%)
Tint · Shade · Tone
Tint
- 5B7FD4
- 6C8DDA
- 7D9BDF
- 8FAAE5
- A1B8EA
- B3C6EE
- C6D4F3
- D9E2F7
- ECF1FB
Shade
- 3F60B3
- 355198
- 2A437F
- 203566
- 17274E
- 0E1A38
- 060E23
- 02040F
- 000102
Tone
- 4F72C7
- 5575BF
- 5A77B8
- 6079B0
- 657AA8
- 6B7CA1
- 707D99
- 757E91
- 7B7F89
Harmoni warna
Komplementer +180°
- 4A70CE
Royal Blue
- 956F00
≈ Sandy Taupe
Analog -30° +30°
- 4A70CE
Royal Blue
- 0080B2
≈ Primal Blue
- 7E5FC4
≈ Fuchsia Blue
Triadik +120° +240°
- 4A70CE
Royal Blue
- BF4A46
≈ Chilli
- 2B8C38
≈ Green Ribbon
Split-komplementer +150° +210°
- 4A70CE
Royal Blue
- B25B00
≈ Elm Brown Red
- 747E00
≈ Verde Tropa
Tetradik +90° +180° +270°
Kontras & aksesibilitas
Ag
AADi atas putih
WCAG 4.66:1 · APCA Lc 72
Ag
AADi atas hitam
WCAG 4.50:1 · APCA Lc 30
Warna teks terbaik: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
Cuplikan kode
CSS
:root {
--royal-blue: #4a70ce;
--royal-blue-rgb: 74 112 206;
--royal-blue-oklch: oklch(0.565 0.151 265.3);
}
.element {
color: var(--royal-blue);
background-color: hsl(223 57% 55%);
border-color: oklch(0.565 0.151 265.3);
}Tailwind CSS v4
@theme {
--color-royal-blue: #4a70ce;
--color-royal-blue-50: #e2f5ff;
--color-royal-blue-100: #d1e7ff;
--color-royal-blue-200: #b8d3ff;
--color-royal-blue-300: #95b5ff;
--color-royal-blue-400: #739bf8;
--color-royal-blue-500: #557fe9;
--color-royal-blue-600: #486cc5;
--color-royal-blue-700: #39579e;
--color-royal-blue-800: #264076;
--color-royal-blue-900: #192c53;
--color-royal-blue-950: #0a1938;
}SCSS
$royal-blue: #4a70ce;
$royal-blue-rgb: 74, 112, 206;
$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);
}