#04193A#04193A

#04193A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.070 H 258.6°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#04193A
RGBrgb(4, 25, 58)
HSLhsl(217, 87%, 12%)
HSVhsv(217, 93%, 23%)
CMYKcmyk(93.1%, 56.9%, 0%, 77.3%)
CIE-LABlab(9.21, 6.49, -23.78)
CIE-LCHlch(9.21, 24.65, 285.27°)
OKLaboklab(21.94% -0.0139 -0.0684)
OKLCHoklch(21.94% 0.07 258.6)
XYZxyz(1.1611, 1.0264, 4.1391)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04193A #3A2504
analogous
#04343A #04193A #0A043A
triadic
#04193A #3A0419 #193A04
tetradic
#04193A #3A0434 #3A2504 #043A0A
square
#04193A #3A0434 #3A2504 #043A0A
split-complementary
#04193A #3A0A04 #343A04
monochromatic
#020C1D #020C1D #04193A #083273 #0C4AAD

Accessibility & contrast

On white

17.42
#04193A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#04193A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04193A
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04193A#FFFFFF#000000##FFFFFF
##04193A1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061D3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #04193a;
/* rgb */ color: rgb(4, 25, 58);
/* oklch */ color: oklch(21.9% 0.070 258.6);
Tailwind
colors: {
  custom: {
    50: '#4e5570',
    500: '#04193a',
    950: '#000000',
  },
}
SCSS
$custom: #04193a;
$custom-light: #4e5570;
$custom-dark: #000000;
JSON
{
  "hex": "#04193a",
  "rgb": {
    "r": 4,
    "g": 25,
    "b": 58
  },
  "hsl": {
    "h": 216.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21935,
    "c": 0.06984,
    "h": 258.6
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#04193A
secondary
#7C571E
accent
#AB2BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #04193A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#04193A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva