Nearest named color · #04112D
#04112D
Nearest named color: Squid’s Ink
#04112D (rgb(4 17 45), hsl(221 84% 10%), oklch(0.186 0.06 261.8)) is closest to the named color Squid’s Ink. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#04112D
oklch(0.186 0.06 261.8)
Color conversions
- HEX
- #04112d
- RGB
- rgb(4 17 45)
- HSL
- hsl(221 84% 10%)
- HWB
- hwb(221 2% 82%)
- OKLCH
- oklch(0.186 0.06 261.8)
- OKLab
- oklab(0.186 -0.009 -0.059)
- CIE Lab
- lab(5.31 3.12 -20.46)
- LCH
- lch(5.31 20.69 278.7)
- CMYK
- cmyk(91% 62% 0% 82%)
Tints · Shades · Tones
Tints
- 172540
- 2C3A53
- 435067
- 5B677C
- 747F91
- 8E97A6
- A9B0BC
- C5CAD2
- E2E4E8
Shades
- 030D26
- 02091F
- 010618
- 010411
- 00020B
- 000106
- 000002
- 000001
- 000000
Tones
- 0D1B35
- 19263D
- 243046
- 303B4E
- 3D4656
- 4A515F
- 575D67
- 64686F
- 727478
Color harmonies
Complementary +180°
- 04112D
Squid’s Ink
- 1B1100
≈ Super Black
Analogous -30° +30°
- 04112D
Squid’s Ink
- 001521
≈ Creeping Death
- 140C2B
≈ Spanish Roast
Triadic +120° +240°
- 04112D
Squid’s Ink
- 280506
≈ Sepia Black
- 011901
≈ Oil Slick
Split-complementary +150° +210°
- 04112D
Squid’s Ink
- 230B00
≈ Severely Burnt Toast
- 131400
≈ Chinese Black
Tetradic +90° +180° +270°
- 04112D
Squid’s Ink
- 250516
≈ Belladonna
- 1B1100
≈ Super Black
- 001811
≈ Pinch of Pepper
Contrast & accessibility
Ag
AAAOn white
WCAG 18.69:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.12:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.69:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--squid-s-ink: #04112d;
--squid-s-ink-rgb: 4 17 45;
--squid-s-ink-oklch: oklch(0.186 0.06 261.8);
}
.element {
color: var(--squid-s-ink);
background-color: hsl(221 84% 10%);
border-color: oklch(0.186 0.06 261.8);
}Tailwind CSS v4
@theme {
--color-squid-s-ink: #04112d;
--color-squid-s-ink-50: #ecf5ff;
--color-squid-s-ink-100: #dee8fd;
--color-squid-s-ink-200: #c7d5ef;
--color-squid-s-ink-300: #a8b8d7;
--color-squid-s-ink-400: #8b9fc3;
--color-squid-s-ink-500: #7087af;
--color-squid-s-ink-600: #5f7293;
--color-squid-s-ink-700: #4c5b76;
--color-squid-s-ink-800: #364357;
--color-squid-s-ink-900: #252e3d;
--color-squid-s-ink-950: #141b27;
}SCSS
$squid-s-ink: #04112d;
$squid-s-ink-rgb: 4, 17, 45;
$squid-s-ink-light: mix(#fff, $squid-s-ink, 20%);
$squid-s-ink-dark: mix(#000, $squid-s-ink, 20%);
.element {
color: $squid-s-ink;
box-shadow: 0 0 0 2px rgba($squid-s-ink, 0.35);
}