#04133A#04133A

#04133A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.079 H 263.5°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#04133A
RGBrgb(4, 19, 58)
HSLhsl(223, 87%, 12%)
HSVhsv(223, 93%, 23%)
CMYKcmyk(93.1%, 67.2%, 0%, 77.3%)
CIE-LABlab(7.20, 11.24, -27.04)
CIE-LCHlch(7.20, 29.28, 292.57°)
OKLaboklab(20.39% -0.0089 -0.0783)
OKLCHoklch(20.39% 0.079 263.5)
XYZxyz(1.0464, 0.7969, 4.1008)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04133A #3A2B04
analogous
#042E3A #04133A #10043A
triadic
#04133A #3A0413 #133A04
tetradic
#04133A #3A042E #3A2B04 #043A10
square
#04133A #3A042E #3A2B04 #043A10
split-complementary
#04133A #3A1004 #2E3A04
monochromatic
#02091D #02091D #04133A #082673 #0C39AD

Accessibility & contrast

On white

18.11
#04133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#04133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04133A
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04133A#FFFFFF#000000##FFFFFF
##04133A1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #04133a;
/* rgb */ color: rgb(4, 19, 58);
/* oklch */ color: oklch(20.4% 0.079 263.5);
Tailwind
colors: {
  custom: {
    50: '#4f5070',
    500: '#04133a',
    950: '#000000',
  },
}
SCSS
$custom: #04133a;
$custom-light: #4f5070;
$custom-dark: #000000;
JSON
{
  "hex": "#04133a",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 223.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20385,
    "c": 0.07883,
    "h": 263.5
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#04133A
secondary
#7C621E
accent
#C32BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #04133A

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

Preview Lab → · Contrast checker → · Palette generator →

#04133A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva