Nearest named color · #2A7396
#2A7396
Nearest named color: Chill of the Night
#2A7396 (rgb(42 115 150), hsl(199 56% 38%), oklch(0.526 0.09 233.1)) is closest to the named color Chill of the Night. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2A7396
oklch(0.526 0.09 233.1)
Color conversions
- HEX
- #2a7396
- RGB
- rgb(42 115 150)
- HSL
- hsl(199 56% 38%)
- HWB
- hwb(199 16% 41%)
- OKLCH
- oklch(0.526 0.09 233.1)
- OKLab
- oklab(0.526 -0.054 -0.072)
- CIE Lab
- lab(45.16 -14.14 -26.1)
- LCH
- lch(45.16 29.69 241.5)
- CMYK
- cmyk(72% 23% 0% 41%)
Tints · Shades · Tones
Tints
- 4381A0
- 588EAB
- 6D9CB5
- 82AAC0
- 97B8CA
- ABC6D5
- C0D4DF
- D5E2EA
- EAF0F4
Shades
- 236382
- 1C546E
- 16455B
- 103649
- 0A2837
- 051B26
- 020F16
- 010508
- 000101
Tones
- 367594
- 417692
- 4A7890
- 53798E
- 5B7A8C
- 637C8A
- 6A7D87
- 727E85
- 797F82
Color harmonies
Complementary +180°
- 2A7396
Chill of the Night
- 935B36
≈ Carrageen Moss
Analogous -30° +30°
- 2A7396
Chill of the Night
- 007982
≈ Aqua Nation
- 4F6A9F
≈ San Marino
Triadic +120° +240°
- 2A7396
Chill of the Night
- 92546F
≈ Grandeur Plum
- 6B702E
≈ Aged Mustard Green
Split-complementary +150° +210°
- 2A7396
Chill of the Night
- 985552
≈ Brown Cerberus
- 846525
≈ Hunting Jacket
Tetradic +90° +180° +270°
- 2A7396
Chill of the Night
- 845889
≈ Purple Fluorite
- 935B36
≈ Carrageen Moss
- 4A7848
≈ Autumn Crocodile
Contrast & accessibility
Ag
AAOn white
WCAG 5.26:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--chill-of-the-night: #2a7396;
--chill-of-the-night-rgb: 42 115 150;
--chill-of-the-night-oklch: oklch(0.526 0.09 233.1);
}
.element {
color: var(--chill-of-the-night);
background-color: hsl(199 56% 38%);
border-color: oklch(0.526 0.09 233.1);
}Tailwind CSS v4
@theme {
--color-chill-of-the-night: #2a7396;
--color-chill-of-the-night-50: #defaff;
--color-chill-of-the-night-100: #ccedff;
--color-chill-of-the-night-200: #b0dbf6;
--color-chill-of-the-night-300: #8abfdf;
--color-chill-of-the-night-400: #65a8cb;
--color-chill-of-the-night-500: #3f90b8;
--color-chill-of-the-night-600: #377a9b;
--color-chill-of-the-night-700: #2c617d;
--color-chill-of-the-night-800: #1d485c;
--color-chill-of-the-night-900: #133240;
--color-chill-of-the-night-950: #041e29;
}SCSS
$chill-of-the-night: #2a7396;
$chill-of-the-night-rgb: 42, 115, 150;
$chill-of-the-night-light: mix(#fff, $chill-of-the-night, 20%);
$chill-of-the-night-dark: mix(#000, $chill-of-the-night, 20%);
.element {
color: $chill-of-the-night;
box-shadow: 0 0 0 2px rgba($chill-of-the-night, 0.35);
}