Warna bernama terdekat · #5F6DD4
#5F6DD4
Warna bernama terdekat: Royal Blue
#5F6DD4 (rgb(95 109 212), hsl(233 58% 60%), oklch(0.575 0.157 274.5)) paling mendekati warna bernama Royal Blue. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#5F6DD4
oklch(0.575 0.157 274.5)
Konversi warna
- HEX
- #5f6dd4
- RGB
- rgb(95 109 212)
- HSL
- hsl(233 58% 60%)
- HWB
- hwb(233 37% 17%)
- OKLCH
- oklch(0.575 0.157 274.5)
- OKLab
- oklab(0.575 0.012 -0.157)
- CIE Lab
- lab(48.88 17.77 -55.85)
- LCH
- lch(48.88 58.61 287.6)
- CMYK
- cmyk(55% 49% 0% 17%)
Tint · Shade · Tone
Tint
- 6D7CD9
- 7C8BDF
- 8B9AE4
- 9AA8E8
- AAB7ED
- BBC5F1
- CBD3F5
- DCE2F9
- EDF0FC
Shade
- 525EB8
- 444F9D
- 384183
- 2C3369
- 202651
- 15193A
- 0A0D24
- 030410
- 000102
Tone
- 6270CC
- 6573C4
- 6875BC
- 6B77B4
- 6E79AB
- 727BA3
- 757C9B
- 797E92
- 7C7F89
Harmoni warna
Komplementer +180°
- 5F6DD4
Royal Blue
- 8F7700
≈ Bhūrā Brown
Analog -30° +30°
- 5F6DD4
Royal Blue
- 007FC7
≈ Blue Aster
- 8E5CC2
≈ Lusty Lavender
Triadik +120° +240°
- 5F6DD4
Royal Blue
- C44E32
≈ Trinidad
- 009151
≈ Moss
Split-komplementer +150° +210°
- 5F6DD4
Royal Blue
- AC6600
≈ Butter Fudge
- 668600
≈ Sap Green
Tetradik +90° +180° +270°
- 5F6DD4
Royal Blue
- C1486D
≈ Vibrant Red
- 8F7700
≈ Bhūrā Brown
- 008C80
≈ Porcelain Green
Kontras & aksesibilitas
Ag
AADi atas putih
WCAG 4.54:1 · APCA Lc 71
Ag
AADi atas hitam
WCAG 4.62:1 · APCA Lc 30
Warna teks terbaik: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
Cuplikan kode
CSS
:root {
--royal-blue: #5f6dd4;
--royal-blue-rgb: 95 109 212;
--royal-blue-oklch: oklch(0.575 0.157 274.5);
}
.element {
color: var(--royal-blue);
background-color: hsl(233 58% 60%);
border-color: oklch(0.575 0.157 274.5);
}Tailwind CSS v4
@theme {
--color-royal-blue: #5f6dd4;
--color-royal-blue-50: #e9f2ff;
--color-royal-blue-100: #dae4ff;
--color-royal-blue-200: #c2cfff;
--color-royal-blue-300: #a2b0ff;
--color-royal-blue-400: #8395fa;
--color-royal-blue-500: #6979ec;
--color-royal-blue-600: #5966c7;
--color-royal-blue-700: #4752a0;
--color-royal-blue-800: #313c78;
--color-royal-blue-900: #212955;
--color-royal-blue-950: #111739;
}SCSS
$royal-blue: #5f6dd4;
$royal-blue-rgb: 95, 109, 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);
}