#041023#041023

#041023 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.4% C 0.044 H 257.3°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#041023
RGBrgb(4, 16, 35)
HSLhsl(217, 79%, 8%)
HSVhsv(217, 89%, 14%)
CMYKcmyk(88.6%, 54.3%, 0%, 86.3%)
CIE-LABlab(4.68, 1.91, -13.96)
CIE-LCHlch(4.68, 14.09, 277.78°)
OKLaboklab(17.37% -0.0097 -0.0429)
OKLCHoklch(17.37% 0.044 257.3)
XYZxyz(0.5386, 0.5177, 1.6613)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041023 #231704
analogous
#041F23 #041023 #070423
triadic
#041023 #230410 #102304
tetradic
#041023 #23041F #231704 #042307
square
#041023 #23041F #231704 #042307
split-complementary
#041023 #230704 #1F2304
monochromatic
#030D1B #030D1B #041023 #0A295A #114291

Accessibility & contrast

On white

19.03
#041023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#041023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041023
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041023#FFFFFF#000000##FFFFFF
##0410231.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071224
Deuteranopia (green-blind)
#040F23
Tritanopia (blue-blind)
#001417
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #041023;
/* rgb */ color: rgb(4, 16, 35);
/* oklch */ color: oklch(17.4% 0.044 257.3);
Tailwind
colors: {
  custom: {
    50: '#484e5e',
    500: '#041023',
    950: '#000000',
  },
}
SCSS
$custom: #041023;
$custom-light: #484e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#041023",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 35
  },
  "hsl": {
    "h": 216.774,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17371,
    "c": 0.04394,
    "h": 257.3
  },
  "luminance": 0.00518
}

Semantic roles & 50–950 ramp

primary
#041023
secondary
#664A1D
accent
#AA32F6
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #041023

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

Preview Lab → · Contrast checker → · Palette generator →

#041023 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva