#04132D#04132D

#04132D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.1% C 0.057 H 259.2°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#04132D
RGBrgb(4, 19, 45)
HSLhsl(218, 84%, 10%)
HSVhsv(218, 91%, 18%)
CMYKcmyk(91.1%, 57.8%, 0%, 82.4%)
CIE-LABlab(6.15, 4.47, -19.21)
CIE-LCHlch(6.15, 19.72, 283.11°)
OKLaboklab(19.11% -0.0106 -0.056)
OKLCHoklch(19.11% 0.057 259.2)
XYZxyz(0.7564, 0.6809, 2.5737)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04132D #2D1E04
analogous
#04282D #04132D #0A042D
triadic
#04132D #2D0413 #132D04
tetradic
#04132D #2D0428 #2D1E04 #042D0A
square
#04132D #2D0428 #2D1E04 #042D0A
split-complementary
#04132D #2D0A04 #282D04
monochromatic
#020C1C #020C1C #04132D #092B65 #0E429D

Accessibility & contrast

On white

18.48
#04132D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#04132D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04132D
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04132D#FFFFFF#000000##FFFFFF
##04132D1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162E
Deuteranopia (green-blind)
#00122C
Tritanopia (blue-blind)
#00191D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #04132d;
/* rgb */ color: rgb(4, 19, 45);
/* oklch */ color: oklch(19.1% 0.057 259.2);
Tailwind
colors: {
  custom: {
    50: '#4a5066',
    500: '#04132d',
    950: '#000000',
  },
}
SCSS
$custom: #04132d;
$custom-light: #4a5066;
$custom-dark: #000000;
JSON
{
  "hex": "#04132d",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 45
  },
  "hsl": {
    "h": 218.049,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19112,
    "c": 0.05697,
    "h": 259.2
  },
  "luminance": 0.00681
}

Semantic roles & 50–950 ramp

primary
#04132D
secondary
#70511D
accent
#AF2EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #04132D

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

Preview Lab → · Contrast checker → · Palette generator →

#04132D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva