#041331#041331

#041331 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.064 H 261.1°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#041331
RGBrgb(4, 19, 49)
HSLhsl(220, 85%, 10%)
HSVhsv(220, 92%, 19%)
CMYKcmyk(91.8%, 61.2%, 0%, 80.8%)
CIE-LABlab(6.44, 6.52, -21.70)
CIE-LCHlch(6.44, 22.66, 286.73°)
OKLaboklab(19.48% -0.0099 -0.0631)
OKLCHoklch(19.48% 0.064 261.1)
XYZxyz(0.8371, 0.7132, 2.9987)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041331 #312204
analogous
#042931 #041331 #0B0431
triadic
#041331 #310413 #133104
tetradic
#041331 #310429 #312204 #04310B
square
#041331 #310429 #312204 #04310B
split-complementary
#041331 #310B04 #293104
monochromatic
#020B1C #020B1C #041331 #09296A #0D3FA2

Accessibility & contrast

On white

18.38
#041331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#041331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041331
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041331#FFFFFF#000000##FFFFFF
##0413311.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021732
Deuteranopia (green-blind)
#001230
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #041331;
/* rgb */ color: rgb(4, 19, 49);
/* oklch */ color: oklch(19.5% 0.064 261.1);
Tailwind
colors: {
  custom: {
    50: '#4b5069',
    500: '#041331',
    950: '#000000',
  },
}
SCSS
$custom: #041331;
$custom-light: #4b5069;
$custom-dark: #000000;
JSON
{
  "hex": "#041331",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 220,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19483,
    "c": 0.06383,
    "h": 261.1
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#041331
secondary
#73571D
accent
#B62DFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041331

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

Preview Lab → · Contrast checker → · Palette generator →

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