Nearest named color · #04104B
#04104B
Nearest named color: Storm
#04104B (rgb(4 16 75), hsl(230 90% 15%), oklch(0.217 0.109 265.9)) is closest to the named color Storm. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#04104B
oklch(0.217 0.109 265.9)
Color conversions
- HEX
- #04104b
- RGB
- rgb(4 16 75)
- HSL
- hsl(230 90% 15%)
- HWB
- hwb(230 2% 71%)
- OKLCH
- oklch(0.217 0.109 265.9)
- OKLab
- oklab(0.217 -0.008 -0.109)
- CIE Lab
- lab(7.45 16.66 -38.52)
- LCH
- lch(7.45 41.97 293.4)
- CMYK
- cmyk(95% 79% 0% 71%)
Tints · Shades · Tones
Tints
- 15285D
- 2B3E6F
- 425480
- 5A6B92
- 7382A4
- 8E9AB6
- A9B3C8
- C5CCDA
- E2E5ED
Shades
- 030C40
- 020935
- 01062B
- 010421
- 000217
- 00010E
- 000006
- 000002
- 000000
Tones
- 0C1D51
- 172957
- 23345D
- 2F3E62
- 3C4968
- 49546D
- 565F72
- 646A77
- 72757C
Color harmonies
Complementary +180°
- 04104B
Storm
- 231800
≈ Cannon Black
Analogous -30° +30°
- 04104B
Storm
- 001D2C
≈ Oxford by Night
- 210445
≈ Your Darkness
Triadic +120° +240°
- 04104B
Storm
- 390003
≈ Dark Maroon
- 002105
≈ Rainforest Nights
Split-complementary +150° +210°
- 04104B
Storm
- 2C1200
≈ Shadow Play
- 191C00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.78:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--storm: #04104b;
--storm-rgb: 4 16 75;
--storm-oklch: oklch(0.217 0.109 265.9);
}
.element {
color: var(--storm);
background-color: hsl(230 90% 15%);
border-color: oklch(0.217 0.109 265.9);
}Tailwind CSS v4
@theme {
--color-storm: #04104b;
--color-storm-50: #e8f5ff;
--color-storm-100: #d8e7ff;
--color-storm-200: #c0d3ff;
--color-storm-300: #9fb6f0;
--color-storm-400: #809ddf;
--color-storm-500: #6483ce;
--color-storm-600: #556fae;
--color-storm-700: #44598c;
--color-storm-800: #2f4168;
--color-storm-900: #202d49;
--color-storm-950: #0f1a30;
}SCSS
$storm: #04104b;
$storm-rgb: 4, 16, 75;
$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);
}