#04133B#04133B

#04133B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.080 H 263.7°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#04133B
RGBrgb(4, 19, 59)
HSLhsl(224, 87%, 12%)
HSVhsv(224, 93%, 23%)
CMYKcmyk(93.2%, 67.8%, 0%, 76.9%)
CIE-LABlab(7.29, 11.74, -27.61)
CIE-LCHlch(7.29, 30.00, 293.03°)
OKLaboklab(20.49% -0.0089 -0.08)
OKLCHoklch(20.49% 0.08 263.7)
XYZxyz(1.0721, 0.8072, 4.2361)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04133B #3B2C04
analogous
#042F3B #04133B #10043B
triadic
#04133B #3B0413 #133B04
tetradic
#04133B #3B042F #3B2C04 #043B10
square
#04133B #3B042F #3B2C04 #043B10
split-complementary
#04133B #3B1004 #2F3B04
monochromatic
#02091D #02091D #04133B #082574 #0C38AE

Accessibility & contrast

On white

18.08
#04133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04133B
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04133B#FFFFFF#000000##FFFFFF
##04133B1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #04133b;
/* rgb */ color: rgb(4, 19, 59);
/* oklch */ color: oklch(20.5% 0.080 263.7);
Tailwind
colors: {
  custom: {
    50: '#4f5071',
    500: '#04133b',
    950: '#000000',
  },
}
SCSS
$custom: #04133b;
$custom-light: #4f5071;
$custom-dark: #000000;
JSON
{
  "hex": "#04133b",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 223.636,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20491,
    "c": 0.08045,
    "h": 263.7
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#04133B
secondary
#7D631E
accent
#C42AFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #04133B

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

Preview Lab → · Contrast checker → · Palette generator →

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