Nearest named color · #021247
#021247
Nearest named color: Storm
#021247 (rgb(2 18 71), hsl(226 95% 14%), oklch(0.215 0.101 263.9)) is closest to the named color Storm. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#021247
oklch(0.215 0.101 263.9)
Color conversions
- HEX
- #021247
- RGB
- rgb(2 18 71)
- HSL
- hsl(226 95% 14%)
- HWB
- hwb(226 1% 72%)
- OKLCH
- oklch(0.215 0.101 263.9)
- OKLab
- oklab(0.215 -0.011 -0.101)
- CIE Lab
- lab(7.49 13.35 -35.68)
- LCH
- lch(7.49 38.09 290.5)
- CMYK
- cmyk(97% 75% 0% 72%)
Tints · Shades · Tones
Tints
- 142959
- 2A3F6B
- 41557D
- 596B8F
- 7383A2
- 8D9AB4
- A9B3C7
- C5CCD9
- E2E5EC
Shades
- 010E3D
- 010A32
- 010728
- 00041F
- 000216
- 00010D
- 000106
- 000002
- 000000
Tones
- 0A1E4D
- 162954
- 22345A
- 2F3F60
- 3C4966
- 49546B
- 565F71
- 646A76
- 72757B
Color harmonies
Complementary +180°
- 021247
Storm
- 231700
≈ Cannon Black
Analogous -30° +30°
- 021247
Storm
- 001C2B
≈ Oxford by Night
- 1E0742
≈ Your Darkness
Triadic +120° +240°
- 021247
Storm
- 380004
≈ Dark Maroon
- 002102
≈ Rainforest Nights
Split-complementary +150° +210°
- 021247
Storm
- 2C1100
≈ Shadow Play
- 191C00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.79:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--storm: #021247;
--storm-rgb: 2 18 71;
--storm-oklch: oklch(0.215 0.101 263.9);
}
.element {
color: var(--storm);
background-color: hsl(226 95% 14%);
border-color: oklch(0.215 0.101 263.9);
}Tailwind CSS v4
@theme {
--color-storm: #021247;
--color-storm-50: #e7f5ff;
--color-storm-100: #d8e8ff;
--color-storm-200: #c0d4ff;
--color-storm-300: #9fb7ec;
--color-storm-400: #809edb;
--color-storm-500: #6385c9;
--color-storm-600: #5470aa;
--color-storm-700: #435a89;
--color-storm-800: #2f4265;
--color-storm-900: #202e47;
--color-storm-950: #0f1a2f;
}SCSS
$storm: #021247;
$storm-rgb: 2, 18, 71;
$storm-light: mix(#fff, $storm, 20%);
$storm-dark: mix(#000, $storm, 20%);
.element {
color: $storm;
box-shadow: 0 0 0 2px rgba($storm, 0.35);
}