Nearest named color · #345FBC
#345FBC
Nearest named color: Starstruck
#345FBC (rgb(52 95 188), hsl(221 57% 47%), oklch(0.507 0.154 263.3)) is closest to the named color Starstruck. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#345FBC
oklch(0.507 0.154 263.3)
Color conversions
- HEX
- #345fbc
- RGB
- rgb(52 95 188)
- HSL
- hsl(221 57% 47%)
- HWB
- hwb(221 20% 26%)
- OKLCH
- oklch(0.507 0.154 263.3)
- OKLab
- oklab(0.507 -0.018 -0.153)
- CIE Lab
- lab(41.24 10.3 -54.49)
- LCH
- lch(41.24 55.45 280.7)
- CMYK
- cmyk(72% 49% 0% 26%)
Tints · Shades · Tones
Tints
- 476FC4
- 5A80CB
- 6E90D3
- 819FDA
- 96AFE1
- AABFE7
- BFCFEE
- D4DFF4
- E9EFF9
Shades
- 2C52A3
- 24448B
- 1C3873
- 152C5D
- 0E2047
- 071532
- 030A1F
- 01030D
- 000002
Tones
- 3C63B7
- 4467B1
- 4C6BAC
- 536FA6
- 5B72A0
- 62759A
- 6A7894
- 717B8E
- 797E87
Color harmonies
Complementary +180°
- 345FBC
Starstruck
- 815F00
≈ Ground Earth
Analogous -30° +30°
- 345FBC
Starstruck
- 006E97
≈ Tropic Sea
- 6B4EB3
≈ Ultrapurple Merge
Triadic +120° +240°
- 345FBC
Starstruck
- AC3538
≈ Red Ink
- 197A1D
≈ Green Glutton
Split-complementary +150° +210°
- 345FBC
Starstruck
- 9B4C00
≈ Burnt Bagel
- 666B00
≈ Brownish Green
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 5.98:1 · APCA Lc 80
Ag
FailOn black
WCAG 3.50:1 · APCA Lc 22
Best text color: #FFFFFF
WCAG 5.98:1 (AA) · APCA Lc 80
Contrast pairs
Code snippets
CSS
:root {
--starstruck: #345fbc;
--starstruck-rgb: 52 95 188;
--starstruck-oklch: oklch(0.507 0.154 263.3);
}
.element {
color: var(--starstruck);
background-color: hsl(221 57% 47%);
border-color: oklch(0.507 0.154 263.3);
}Tailwind CSS v4
@theme {
--color-starstruck: #345fbc;
--color-starstruck-50: #e0f5ff;
--color-starstruck-100: #cfe8ff;
--color-starstruck-200: #b4d4ff;
--color-starstruck-300: #91b5ff;
--color-starstruck-400: #6e9cf9;
--color-starstruck-500: #4e80eb;
--color-starstruck-600: #436dc6;
--color-starstruck-700: #35579f;
--color-starstruck-800: #224077;
--color-starstruck-900: #172c54;
--color-starstruck-950: #081938;
}SCSS
$starstruck: #345fbc;
$starstruck-rgb: 52, 95, 188;
$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);
}