#04193C#04193C

#04193C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.073 H 259.4°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#04193C
RGBrgb(4, 25, 60)
HSLhsl(218, 88%, 13%)
HSVhsv(218, 93%, 24%)
CMYKcmyk(93.3%, 58.3%, 0%, 76.5%)
CIE-LABlab(9.38, 7.45, -24.94)
CIE-LCHlch(9.38, 26.03, 286.64°)
OKLaboklab(22.12% -0.0135 -0.0718)
OKLCHoklch(22.12% 0.073 259.4)
XYZxyz(1.2130, 1.0472, 4.4123)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04193C #3C2704
analogous
#04353C #04193C #0B043C
triadic
#04193C #3C0419 #193C04
tetradic
#04193C #3C0435 #3C2704 #043C0B
square
#04193C #3C0435 #3C2704 #043C0B
split-complementary
#04193C #3C0B04 #353C04
monochromatic
#020C1D #020C1D #04193C #083175 #0C49AF

Accessibility & contrast

On white

17.36
#04193C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04193C
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04193C#FFFFFF#000000##FFFFFF
##04193C1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #04193c;
/* rgb */ color: rgb(4, 25, 60);
/* oklch */ color: oklch(22.1% 0.073 259.4);
Tailwind
colors: {
  custom: {
    50: '#4f5572',
    500: '#04193c',
    950: '#000000',
  },
}
SCSS
$custom: #04193c;
$custom-light: #4f5572;
$custom-dark: #000000;
JSON
{
  "hex": "#04193c",
  "rgb": {
    "r": 4,
    "g": 25,
    "b": 60
  },
  "hsl": {
    "h": 217.5,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22118,
    "c": 0.07311,
    "h": 259.4
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#04193C
secondary
#7E5A1E
accent
#AE2AFE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #04193C

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

Preview Lab → · Contrast checker → · Palette generator →

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