#041027#041027

#041027 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.7% C 0.051 H 260.2°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#041027
RGBrgb(4, 16, 39)
HSLhsl(219, 81%, 8%)
HSVhsv(219, 90%, 15%)
CMYKcmyk(89.7%, 59%, 0%, 84.7%)
CIE-LABlab(4.90, 3.50, -16.66)
CIE-LCHlch(4.90, 17.02, 281.87°)
OKLaboklab(17.72% -0.0087 -0.0503)
OKLCHoklch(17.72% 0.051 260.2)
XYZxyz(0.6014, 0.5428, 1.9921)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041027 #271B04
analogous
#042127 #041027 #090427
triadic
#041027 #270410 #102704
tetradic
#041027 #270421 #271B04 #042709
square
#041027 #270421 #271B04 #042709
split-complementary
#041027 #270904 #212704
monochromatic
#030B1C #030B1C #041027 #0A275F #0F3E96

Accessibility & contrast

On white

18.94
#041027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#041027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041027
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041027#FFFFFF#000000##FFFFFF
##0410271.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051228
Deuteranopia (green-blind)
#010F27
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #041027;
/* rgb */ color: rgb(4, 16, 39);
/* oklch */ color: oklch(17.7% 0.051 260.2);
Tailwind
colors: {
  custom: {
    50: '#494e61',
    500: '#041027',
    950: '#000000',
  },
}
SCSS
$custom: #041027;
$custom-light: #494e61;
$custom-dark: #000000;
JSON
{
  "hex": "#041027",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 219.429,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17721,
    "c": 0.05108,
    "h": 260.2
  },
  "luminance": 0.00543
}

Semantic roles & 50–950 ramp

primary
#041027
secondary
#6A4F1D
accent
#B330F8
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #041027

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

Preview Lab → · Contrast checker → · Palette generator →

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