#04061E#04061E

#04061E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 13.9% C 0.052 H 272.4°. Best body text is #FFFFFF at 20.00:1 contrast (WCAG AA passes).

Color values

HEX#04061E
RGBrgb(4, 6, 30)
HSLhsl(235, 76%, 7%)
HSVhsv(235, 87%, 12%)
CMYKcmyk(86.7%, 80%, 0%, 88.2%)
CIE-LABlab(2.26, 4.59, -13.73)
CIE-LCHlch(2.26, 14.48, 288.48°)
OKLaboklab(13.94% 0.0022 -0.0521)
OKLCHoklch(13.94% 0.052 272.4)
XYZxyz(0.3495, 0.2498, 1.2578)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04061E #1E1C04
analogous
#04131E #04061E #0F041E
triadic
#04061E #1E0406 #061E04
tetradic
#04061E #1E0413 #1E1C04 #041E0F
square
#04061E #1E0413 #1E1C04 #041E0F
split-complementary
#04061E #1E0F04 #131E04
monochromatic
#04051B #04051B #04061E #0B1154 #121C8A

Accessibility & contrast

On white

20.00
#04061E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#04061E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04061E
20.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04061E#FFFFFF#000000##FFFFFF
##04061E1.0020.001.0520.00
#FFFFFF20.001.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091F
Deuteranopia (green-blind)
#00071E
Tritanopia (blue-blind)
#000C10
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #04061e;
/* rgb */ color: rgb(4, 6, 30);
/* oklch */ color: oklch(13.9% 0.052 272.4);
Tailwind
colors: {
  custom: {
    50: '#484959',
    500: '#04061e',
    950: '#000000',
  },
}
SCSS
$custom: #04061e;
$custom-light: #484959;
$custom-dark: #000000;
JSON
{
  "hex": "#04061e",
  "rgb": {
    "r": 4,
    "g": 6,
    "b": 30
  },
  "hsl": {
    "h": 235.385,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.13936,
    "c": 0.05214,
    "h": 272.4
  },
  "luminance": 0.0025
}

Semantic roles & 50–950 ramp

primary
#04061E
secondary
#615B1D
accent
#E435F3
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000003
muted
#777778

Preview Lab

Preview with #04061E

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

Preview Lab → · Contrast checker → · Palette generator →

#04061E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva