#04093A#04093A

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

Color values

HEX#04093A
RGBrgb(4, 9, 58)
HSLhsl(234, 87%, 12%)
HSVhsv(234, 93%, 23%)
CMYKcmyk(93.1%, 84.5%, 0%, 77.3%)
CIE-LABlab(4.76, 16.75, -31.01)
CIE-LCHlch(4.76, 35.24, 298.38°)
OKLaboklab(18.19% -0.0032 -0.0927)
OKLCHoklch(18.19% 0.093 268)
XYZxyz(0.9112, 0.5266, 4.0558)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04093A #3A3504
analogous
#04243A #04093A #1A043A
triadic
#04093A #3A0409 #093A04
tetradic
#04093A #3A0424 #3A3504 #043A1A
square
#04093A #3A0424 #3A3504 #043A1A
split-complementary
#04093A #3A1A04 #243A04
monochromatic
#02041D #02041D #04093A #081273 #0C1BAD

Accessibility & contrast

On white

19.00
#04093A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04093A
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04093A#FFFFFF#000000##FFFFFF
##04093A1.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#000D39
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #04093a;
/* rgb */ color: rgb(4, 9, 58);
/* oklch */ color: oklch(18.2% 0.093 268.0);
Tailwind
colors: {
  custom: {
    50: '#4f4a71',
    500: '#04093a',
    950: '#000000',
  },
}
SCSS
$custom: #04093a;
$custom-light: #4f4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#04093a",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 58
  },
  "hsl": {
    "h": 234.444,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18189,
    "c": 0.09281,
    "h": 268
  },
  "luminance": 0.00527
}

Semantic roles & 50–950 ramp

primary
#04093A
secondary
#7C731E
accent
#EA2BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #04093A

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

Preview Lab → · Contrast checker → · Palette generator →

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