#041334#041334

#041334 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.069 H 262.1°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#041334
RGBrgb(4, 19, 52)
HSLhsl(221, 86%, 11%)
HSVhsv(221, 92%, 20%)
CMYKcmyk(92.3%, 63.5%, 0%, 79.6%)
CIE-LABlab(6.68, 8.13, -23.53)
CIE-LCHlch(6.68, 24.89, 289.06°)
OKLaboklab(19.77% -0.0095 -0.0682)
OKLCHoklch(19.77% 0.069 262.1)
XYZxyz(0.9026, 0.7394, 3.3433)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041334 #342504
analogous
#042B34 #041334 #0D0434
triadic
#041334 #340413 #133404
tetradic
#041334 #34042B #342504 #04340D
square
#041334 #34042B #342504 #04340D
split-complementary
#041334 #340D04 #2B3404
monochromatic
#020A1C #020A1C #041334 #08286D #0D3DA6

Accessibility & contrast

On white

18.30
#041334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#041334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041334
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041334#FFFFFF#000000##FFFFFF
##0413341.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #041334;
/* rgb */ color: rgb(4, 19, 52);
/* oklch */ color: oklch(19.8% 0.069 262.1);
Tailwind
colors: {
  custom: {
    50: '#4d506c',
    500: '#041334',
    950: '#000000',
  },
}
SCSS
$custom: #041334;
$custom-light: #4d506c;
$custom-dark: #000000;
JSON
{
  "hex": "#041334",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 221.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19774,
    "c": 0.06891,
    "h": 262.1
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#041334
secondary
#765B1E
accent
#BB2CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #041334

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

Preview Lab → · Contrast checker → · Palette generator →

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