#041B37#041B37

#041B37 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.2% C 0.062 H 254.7°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#041B37
RGBrgb(4, 27, 55)
HSLhsl(213, 86%, 12%)
HSVhsv(213, 93%, 22%)
CMYKcmyk(92.7%, 50.9%, 0%, 78.4%)
CIE-LABlab(9.68, 3.46, -20.87)
CIE-LCHlch(9.68, 21.15, 279.40°)
OKLaboklab(22.22% -0.0164 -0.0598)
OKLCHoklch(22.22% 0.062 254.7)
XYZxyz(1.1313, 1.0854, 3.7636)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041B37 #372004
analogous
#043537 #041B37 #060437
triadic
#041B37 #37041B #1B3704
tetradic
#041B37 #370435 #372004 #043706
square
#041B37 #370435 #372004 #043706
split-complementary
#041B37 #370604 #353704
monochromatic
#020E1D #020E1D #041B37 #083770 #0C53A9

Accessibility & contrast

On white

17.25
#041B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#041B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041B37
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041B37#FFFFFF#000000##FFFFFF
##041B371.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D38
Deuteranopia (green-blind)
#041936
Tritanopia (blue-blind)
#002226
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041b37;
/* rgb */ color: rgb(4, 27, 55);
/* oklch */ color: oklch(22.2% 0.062 254.7);
Tailwind
colors: {
  custom: {
    50: '#4d566e',
    500: '#041b37',
    950: '#000000',
  },
}
SCSS
$custom: #041b37;
$custom-light: #4d566e;
$custom-dark: #000000;
JSON
{
  "hex": "#041b37",
  "rgb": {
    "r": 4,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 212.941,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22224,
    "c": 0.06203,
    "h": 254.7
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#041B37
secondary
#79501E
accent
#9E2BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #041B37

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

Preview Lab → · Contrast checker → · Palette generator →

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