#04093F#04093F

#04093F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.100 H 267.7°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#04093F
RGBrgb(4, 9, 63)
HSLhsl(235, 88%, 13%)
HSVhsv(235, 94%, 25%)
CMYKcmyk(93.7%, 85.7%, 0%, 75.3%)
CIE-LABlab(5.24, 19.63, -33.83)
CIE-LCHlch(5.24, 39.11, 300.12°)
OKLaboklab(18.85% -0.004 -0.1)
OKLCHoklch(18.85% 0.1 267.7)
XYZxyz(1.0447, 0.5799, 4.7585)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04093F #3F3A04
analogous
#04263F #04093F #1C043F
triadic
#04093F #3F0409 #093F04
tetradic
#04093F #3F0426 #3F3A04 #043F1C
square
#04093F #3F0426 #3F3A04 #043F1C
split-complementary
#04093F #3F1C04 #263F04
monochromatic
#02041D #02041D #04093F #081179 #0B19B2

Accessibility & contrast

On white

18.82
#04093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#04093F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04093F
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04093F#FFFFFF#000000##FFFFFF
##04093F1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#000E3E
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #04093f;
/* rgb */ color: rgb(4, 9, 63);
/* oklch */ color: oklch(18.9% 0.100 267.7);
Tailwind
colors: {
  custom: {
    50: '#514975',
    500: '#04093f',
    950: '#000000',
  },
}
SCSS
$custom: #04093f;
$custom-light: #514975;
$custom-dark: #000000;
JSON
{
  "hex": "#04093f",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 234.915,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18854,
    "c": 0.10013,
    "h": 267.7
  },
  "luminance": 0.0058
}

Semantic roles & 50–950 ramp

primary
#04093F
secondary
#80781E
accent
#EC2AFE
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #04093F

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

Preview Lab → · Contrast checker → · Palette generator →

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