#04193F#04193F

#04193F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.078 H 260.4°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#04193F
RGBrgb(4, 25, 63)
HSLhsl(219, 88%, 13%)
HSVhsv(219, 94%, 25%)
CMYKcmyk(93.7%, 60.3%, 0%, 75.3%)
CIE-LABlab(9.64, 8.89, -26.65)
CIE-LCHlch(9.64, 28.10, 288.46°)
OKLaboklab(22.4% -0.013 -0.0769)
OKLCHoklch(22.4% 0.078 260.4)
XYZxyz(1.2946, 1.0798, 4.8419)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04193F #3F2A04
analogous
#04363F #04193F #0C043F
triadic
#04193F #3F0419 #193F04
tetradic
#04193F #3F0436 #3F2A04 #043F0C
square
#04193F #3F0436 #3F2A04 #043F0C
split-complementary
#04193F #3F0C04 #363F04
monochromatic
#020B1D #020B1D #04193F #083079 #0B47B2

Accessibility & contrast

On white

17.27
#04193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#04193F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04193F
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04193F#FFFFFF#000000##FFFFFF
##04193F1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #04193f;
/* rgb */ color: rgb(4, 25, 63);
/* oklch */ color: oklch(22.4% 0.078 260.4);
Tailwind
colors: {
  custom: {
    50: '#505574',
    500: '#04193f',
    950: '#000000',
  },
}
SCSS
$custom: #04193f;
$custom-light: #505574;
$custom-dark: #000000;
JSON
{
  "hex": "#04193f",
  "rgb": {
    "r": 4,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 218.644,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.224,
    "c": 0.07799,
    "h": 260.4
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#04193F
secondary
#805E1E
accent
#B32AFE
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #04193F

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

Preview Lab → · Contrast checker → · Palette generator →

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