#04093B#04093B

#04093B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.094 H 268.0°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#04093B
RGBrgb(4, 9, 59)
HSLhsl(235, 87%, 12%)
HSVhsv(235, 93%, 23%)
CMYKcmyk(93.2%, 84.7%, 0%, 76.9%)
CIE-LABlab(4.85, 17.34, -31.58)
CIE-LCHlch(4.85, 36.03, 298.77°)
OKLaboklab(18.32% -0.0034 -0.0942)
OKLCHoklch(18.32% 0.094 268)
XYZxyz(0.9369, 0.5368, 4.1911)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04093B #3B3604
analogous
#04253B #04093B #1A043B
triadic
#04093B #3B0409 #093B04
tetradic
#04093B #3B0425 #3B3604 #043B1A
square
#04093B #3B0425 #3B3604 #043B1A
split-complementary
#04093B #3B1A04 #253B04
monochromatic
#02041D #02041D #04093B #081274 #0C1AAE

Accessibility & contrast

On white

18.96
#04093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#04093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04093B
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04093B#FFFFFF#000000##FFFFFF
##04093B1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133C
Deuteranopia (green-blind)
#000E3A
Tritanopia (blue-blind)
#001821
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #04093b;
/* rgb */ color: rgb(4, 9, 59);
/* oklch */ color: oklch(18.3% 0.094 268.0);
Tailwind
colors: {
  custom: {
    50: '#4f4a71',
    500: '#04093b',
    950: '#000000',
  },
}
SCSS
$custom: #04093b;
$custom-light: #4f4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#04093b",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 234.545,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18321,
    "c": 0.09429,
    "h": 268
  },
  "luminance": 0.00537
}

Semantic roles & 50–950 ramp

primary
#04093B
secondary
#7D741E
accent
#EA2AFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #04093B

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

Preview Lab → · Contrast checker → · Palette generator →

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