#041E3F#041E3F

#041E3F is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.7% C 0.071 H 255.8°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#041E3F
RGBrgb(4, 30, 63)
HSLhsl(214, 88%, 13%)
HSVhsv(214, 94%, 25%)
CMYKcmyk(93.7%, 52.4%, 0%, 75.3%)
CIE-LABlab(11.37, 4.93, -23.86)
CIE-LCHlch(11.37, 24.37, 281.68°)
OKLaboklab(23.73% -0.0173 -0.0685)
OKLCHoklch(23.73% 0.071 255.8)
XYZxyz(1.4112, 1.3131, 4.8807)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041E3F #3F2504
analogous
#043B3F #041E3F #07043F
triadic
#041E3F #3F041E #1E3F04
tetradic
#041E3F #3F043B #3F2504 #043F07
square
#041E3F #3F043B #3F2504 #043F07
split-complementary
#041E3F #3F0704 #3B3F04
monochromatic
#020E1D #020E1D #041E3F #083979 #0B55B2

Accessibility & contrast

On white

16.63
#041E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#041E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041E3F
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041E3F#FFFFFF#000000##FFFFFF
##041E3F1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2140
Deuteranopia (green-blind)
#011C3E
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #041e3f;
/* rgb */ color: rgb(4, 30, 63);
/* oklch */ color: oklch(23.7% 0.071 255.8);
Tailwind
colors: {
  custom: {
    50: '#505974',
    500: '#041e3f',
    950: '#000000',
  },
}
SCSS
$custom: #041e3f;
$custom-light: #505974;
$custom-dark: #000000;
JSON
{
  "hex": "#041e3f",
  "rgb": {
    "r": 4,
    "g": 30,
    "b": 63
  },
  "hsl": {
    "h": 213.559,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23727,
    "c": 0.07071,
    "h": 255.8
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#041E3F
secondary
#80551E
accent
#A12AFE
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #041E3F

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

Preview Lab → · Contrast checker → · Palette generator →

#041E3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva