Nearest named color · #526AAC
#526AAC
Nearest named color: Starstruck
#526AAC (rgb(82 106 172), hsl(224 35% 50%), oklch(0.536 0.108 267.6)) is closest to the named color Starstruck. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#526AAC
oklch(0.536 0.108 267.6)
Color conversions
- HEX
- #526aac
- RGB
- rgb(82 106 172)
- HSL
- hsl(224 35% 50%)
- HWB
- hwb(224 32% 33%)
- OKLCH
- oklch(0.536 0.108 267.6)
- OKLab
- oklab(0.536 -0.005 -0.108)
- CIE Lab
- lab(45.24 5.75 -38.7)
- LCH
- lch(45.24 39.13 278.5)
- CMYK
- cmyk(52% 38% 0% 33%)
Tints · Shades · Tones
Tints
- 6278B5
- 7287BE
- 8296C6
- 93A4CF
- A4B3D7
- B6C2DF
- C8D1E7
- DAE0EF
- ECF0F7
Shades
- 465B95
- 3B4D7F
- 2F3F69
- 253154
- 1A2440
- 11182D
- 080D1B
- 02040B
- 000001
Tones
- 566DA8
- 5B6FA4
- 6072A0
- 64749C
- 697697
- 6D7893
- 727A8E
- 777C8A
- 7B7E85
Color harmonies
Complementary +180°
- 526AAC
Starstruck
- 886906
≈ Muddy Brown
Analogous -30° +30°
- 526AAC
Starstruck
- 1C75A4
≈ Summer Lake
- 755FA4
≈ Genestealer Purple
Triadic +120° +240°
- 526AAC
Starstruck
- A3524A
≈ BBQ
- 3D7E48
≈ Hills of Ireland
Split-complementary +150° +210°
- 526AAC
Starstruck
- 9B5C25
≈ Chilli Con Carne
- 697521
≈ Castelvetrano Olive
Tetradic +90° +180° +270°
- 526AAC
Starstruck
- 9E516E
≈ Mulberry Mix
- 886906
≈ Muddy Brown
- 00806D
≈ Tropical Green
Contrast & accessibility
Ag
AAOn white
WCAG 5.22:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--starstruck: #526aac;
--starstruck-rgb: 82 106 172;
--starstruck-oklch: oklch(0.536 0.108 267.6);
}
.element {
color: var(--starstruck);
background-color: hsl(224 35% 50%);
border-color: oklch(0.536 0.108 267.6);
}Tailwind CSS v4
@theme {
--color-starstruck: #526aac;
--color-starstruck-50: #e9f5ff;
--color-starstruck-100: #d9e7ff;
--color-starstruck-200: #c2d3ff;
--color-starstruck-300: #a1b5ef;
--color-starstruck-400: #829cdf;
--color-starstruck-500: #6782ce;
--color-starstruck-600: #576fae;
--color-starstruck-700: #46588b;
--color-starstruck-800: #304168;
--color-starstruck-900: #212d49;
--color-starstruck-950: #101a30;
}SCSS
$starstruck: #526aac;
$starstruck-rgb: 82, 106, 172;
$starstruck-light: mix(#fff, $starstruck, 20%);
$starstruck-dark: mix(#000, $starstruck, 20%);
.element {
color: $starstruck;
box-shadow: 0 0 0 2px rgba($starstruck, 0.35);
}