#04193B#04193B

#04193B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.071 H 259.0°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#04193B
RGBrgb(4, 25, 59)
HSLhsl(217, 87%, 12%)
HSVhsv(217, 93%, 23%)
CMYKcmyk(93.2%, 57.6%, 0%, 76.9%)
CIE-LABlab(9.29, 6.97, -24.36)
CIE-LCHlch(9.29, 25.34, 285.97°)
OKLaboklab(22.03% -0.0137 -0.0702)
OKLCHoklch(22.03% 0.071 259)
XYZxyz(1.1868, 1.0367, 4.2744)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04193B #3B2604
analogous
#04353B #04193B #0B043B
triadic
#04193B #3B0419 #193B04
tetradic
#04193B #3B0435 #3B2604 #043B0B
square
#04193B #3B0435 #3B2604 #043B0B
split-complementary
#04193B #3B0B04 #353B04
monochromatic
#020C1D #020C1D #04193B #083174 #0C4AAE

Accessibility & contrast

On white

17.39
#04193B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04193B
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04193B#FFFFFF#000000##FFFFFF
##04193B1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051D3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #04193b;
/* rgb */ color: rgb(4, 25, 59);
/* oklch */ color: oklch(22.0% 0.071 259.0);
Tailwind
colors: {
  custom: {
    50: '#4f5571',
    500: '#04193b',
    950: '#000000',
  },
}
SCSS
$custom: #04193b;
$custom-light: #4f5571;
$custom-dark: #000000;
JSON
{
  "hex": "#04193b",
  "rgb": {
    "r": 4,
    "g": 25,
    "b": 59
  },
  "hsl": {
    "h": 217.091,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22026,
    "c": 0.07148,
    "h": 259
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#04193B
secondary
#7D591E
accent
#AD2AFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #04193B

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

Preview Lab → · Contrast checker → · Palette generator →

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