Nearest named color · #42A2E4
#42A2E4
Nearest named color: High Blue
#42A2E4 (rgb(66 162 228), hsl(204 75% 58%), oklch(0.685 0.132 242.4)) is closest to the named color High Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#42A2E4
oklch(0.685 0.132 242.4)
Color conversions
- HEX
- #42a2e4
- RGB
- rgb(66 162 228)
- HSL
- hsl(204 75% 58%)
- HWB
- hwb(204 26% 11%)
- OKLCH
- oklch(0.685 0.132 242.4)
- OKLab
- oklab(0.685 -0.061 -0.117)
- CIE Lab
- lab(63.19 -12.66 -42.29)
- LCH
- lch(63.19 44.15 253.3)
- CMYK
- cmyk(71% 29% 0% 11%)
Tints · Shades · Tones
Tints
- 59ACE7
- 6EB5EB
- 81BFEE
- 94C8F1
- A6D1F3
- B8DAF6
- CAE4F8
- DCEDFB
- EDF6FD
Shades
- 388CC6
- 2F77A9
- 25638D
- 1C4F72
- 143C58
- 0B2A3F
- 051928
- 010A12
- 000103
Tones
- 4C9FDA
- 559CD0
- 5C99C6
- 6395BC
- 6992B2
- 6E8FA8
- 738B9E
- 788894
- 7C848A
Color harmonies
Complementary +180°
- 42A2E4
High Blue
- D38536
≈ Mexican Spirit
Analogous -30° +30°
- 42A2E4
High Blue
- 00ACC5
≈ Sarah’s Garden
- 7E93EB
≈ Perrywinkle
Triadic +120° +240°
- 42A2E4
High Blue
- DB7493
≈ Oxford Sausage
- 8BA640
≈ Lime It or Leave It
Split-complementary +150° +210°
- 42A2E4
High Blue
- DF7864
≈ Annular
- B6961E
≈ Sahara
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 53
Ag
AAAOn black
WCAG 7.52:1 · APCA Lc 48
Best text color: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--high-blue: #42a2e4;
--high-blue-rgb: 66 162 228;
--high-blue-oklch: oklch(0.685 0.132 242.4);
}
.element {
color: var(--high-blue);
background-color: hsl(204 75% 58%);
border-color: oklch(0.685 0.132 242.4);
}Tailwind CSS v4
@theme {
--color-high-blue: #42a2e4;
--color-high-blue-50: #d6faff;
--color-high-blue-100: #c3eeff;
--color-high-blue-200: #a4dbff;
--color-high-blue-300: #7bbff6;
--color-high-blue-400: #4ea7e6;
--color-high-blue-500: #0d8ed5;
--color-high-blue-600: #1378b4;
--color-high-blue-700: #106091;
--color-high-blue-800: #03476b;
--color-high-blue-900: #04314b;
--color-high-blue-950: #001d32;
}SCSS
$high-blue: #42a2e4;
$high-blue-rgb: 66, 162, 228;
$high-blue-light: mix(#fff, $high-blue, 20%);
$high-blue-dark: mix(#000, $high-blue, 20%);
.element {
color: $high-blue;
box-shadow: 0 0 0 2px rgba($high-blue, 0.35);
}