#04033A#04033A

#04033A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.101 H 269.4°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#04033A
RGBrgb(4, 3, 58)
HSLhsl(241, 90%, 12%)
HSVhsv(241, 95%, 23%)
CMYKcmyk(93.1%, 94.8%, 0%, 77.3%)
CIE-LABlab(3.58, 19.23, -32.92)
CIE-LCHlch(3.58, 38.12, 300.29°)
OKLaboklab(16.91% -0.001 -0.1013)
OKLCHoklch(16.91% 0.101 269.4)
XYZxyz(0.8461, 0.3963, 4.0341)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04033A #393A03
analogous
#031E3A #04033A #20033A
triadic
#04033A #3A0403 #033A04
tetradic
#04033A #3A031E #393A03 #033A20
square
#04033A #3A031E #393A03 #033A20
split-complementary
#04033A #3A2003 #1E3A03
monochromatic
#02021D #02021D #04033A #080674 #0C09AE

Accessibility & contrast

On white

19.46
#04033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#04033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04033A
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04033A#FFFFFF#000000##FFFFFF
##04033A1.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103C
Deuteranopia (green-blind)
#000A39
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #04033a;
/* rgb */ color: rgb(4, 3, 58);
/* oklch */ color: oklch(16.9% 0.101 269.4);
Tailwind
colors: {
  custom: {
    50: '#4e4771',
    500: '#04033a',
    950: '#000000',
  },
}
SCSS
$custom: #04033a;
$custom-light: #4e4771;
$custom-dark: #000000;
JSON
{
  "hex": "#04033a",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 241.091,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.16909,
    "c": 0.10135,
    "h": 269.4
  },
  "luminance": 0.00396
}

Semantic roles & 50–950 ramp

primary
#04033A
secondary
#7B7D1C
accent
#FF29FB
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #04033A

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

Preview Lab → · Contrast checker → · Palette generator →

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