#04133F#04133F

#04133F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.087 H 264.2°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#04133F
RGBrgb(4, 19, 63)
HSLhsl(225, 88%, 13%)
HSVhsv(225, 94%, 25%)
CMYKcmyk(93.7%, 69.8%, 0%, 75.3%)
CIE-LABlab(7.68, 13.70, -29.84)
CIE-LCHlch(7.68, 32.83, 294.66°)
OKLaboklab(20.92% -0.0087 -0.0864)
OKLCHoklch(20.92% 0.087 264.2)
XYZxyz(1.1798, 0.8503, 4.8036)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04133F #3F3004
analogous
#04303F #04133F #12043F
triadic
#04133F #3F0413 #133F04
tetradic
#04133F #3F0430 #3F3004 #043F12
square
#04133F #3F0430 #3F3004 #043F12
split-complementary
#04133F #3F1204 #303F04
monochromatic
#02091D #02091D #04133F #082479 #0B36B2

Accessibility & contrast

On white

17.95
#04133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#04133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04133F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04133F#FFFFFF#000000##FFFFFF
##04133F1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #04133f;
/* rgb */ color: rgb(4, 19, 63);
/* oklch */ color: oklch(20.9% 0.087 264.2);
Tailwind
colors: {
  custom: {
    50: '#515074',
    500: '#04133f',
    950: '#000000',
  },
}
SCSS
$custom: #04133f;
$custom-light: #515074;
$custom-dark: #000000;
JSON
{
  "hex": "#04133f",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 224.746,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20921,
    "c": 0.08684,
    "h": 264.2
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#04133F
secondary
#80671E
accent
#C82AFE
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #04133F

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

Preview Lab → · Contrast checker → · Palette generator →

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