#04132E#04132E

#04132E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.2% C 0.059 H 259.8°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#04132E
RGBrgb(4, 19, 46)
HSLhsl(219, 84%, 10%)
HSVhsv(219, 91%, 18%)
CMYKcmyk(91.3%, 58.7%, 0%, 82%)
CIE-LABlab(6.22, 4.97, -19.84)
CIE-LCHlch(6.22, 20.45, 284.06°)
OKLaboklab(19.2% -0.0104 -0.0578)
OKLCHoklch(19.2% 0.059 259.8)
XYZxyz(0.7759, 0.6887, 2.6763)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04132E #2E1F04
analogous
#04282E #04132E #0A042E
triadic
#04132E #2E0413 #132E04
tetradic
#04132E #2E0428 #2E1F04 #042E0A
square
#04132E #2E0428 #2E1F04 #042E0A
split-complementary
#04132E #2E0A04 #282E04
monochromatic
#020C1C #020C1C #04132E #092A66 #0E429F

Accessibility & contrast

On white

18.46
#04132E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04132E
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04132E#FFFFFF#000000##FFFFFF
##04132E1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04132e;
/* rgb */ color: rgb(4, 19, 46);
/* oklch */ color: oklch(19.2% 0.059 259.8);
Tailwind
colors: {
  custom: {
    50: '#4a5067',
    500: '#04132e',
    950: '#000000',
  },
}
SCSS
$custom: #04132e;
$custom-light: #4a5067;
$custom-dark: #000000;
JSON
{
  "hex": "#04132e",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 46
  },
  "hsl": {
    "h": 218.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19203,
    "c": 0.0587,
    "h": 259.8
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#04132E
secondary
#71531D
accent
#B12EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #04132E

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

Preview Lab → · Contrast checker → · Palette generator →

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