#041E40#041E40

#041E40 is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.8% C 0.072 H 256.3°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#041E40
RGBrgb(4, 30, 64)
HSLhsl(214, 88%, 13%)
HSVhsv(214, 94%, 25%)
CMYKcmyk(93.8%, 53.1%, 0%, 74.9%)
CIE-LABlab(11.44, 5.41, -24.44)
CIE-LCHlch(11.44, 25.03, 282.48°)
OKLaboklab(23.81% -0.0171 -0.0703)
OKLCHoklch(23.81% 0.072 256.3)
XYZxyz(1.4394, 1.3243, 5.0293)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041E40 #402604
analogous
#043C40 #041E40 #080440
triadic
#041E40 #40041E #1E4004
tetradic
#041E40 #40043C #402604 #044008
square
#041E40 #40043C #402604 #044008
split-complementary
#041E40 #400804 #3C4004
monochromatic
#020E1D #020E1D #041E40 #08397A #0B54B3

Accessibility & contrast

On white

16.60
#041E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041E40
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041E40#FFFFFF#000000##FFFFFF
##041E401.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2141
Deuteranopia (green-blind)
#001C3F
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #041e40;
/* rgb */ color: rgb(4, 30, 64);
/* oklch */ color: oklch(23.8% 0.072 256.3);
Tailwind
colors: {
  custom: {
    50: '#505975',
    500: '#041e40',
    950: '#000000',
  },
}
SCSS
$custom: #041e40;
$custom-light: #505975;
$custom-dark: #000000;
JSON
{
  "hex": "#041e40",
  "rgb": {
    "r": 4,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 214,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23812,
    "c": 0.07231,
    "h": 256.3
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#041E40
secondary
#81561F
accent
#A229FE
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #041E40

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

Preview Lab → · Contrast checker → · Palette generator →

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