#041F3B#041F3B

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

Color values

HEX#041F3B
RGBrgb(4, 31, 59)
HSLhsl(211, 87%, 12%)
HSVhsv(211, 93%, 23%)
CMYKcmyk(93.2%, 47.5%, 0%, 76.9%)
CIE-LABlab(11.42, 2.25, -20.94)
CIE-LCHlch(11.42, 21.06, 276.15°)
OKLaboklab(23.67% -0.0193 -0.0599)
OKLCHoklch(23.67% 0.063 252.1)
XYZxyz(1.3292, 1.3214, 4.3218)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F3B #3B2004
analogous
#043B3B #041F3B #04043B
triadic
#041F3B #3B041F #1F3B04
tetradic
#041F3B #3B043B #3B2004 #043B04
square
#041F3B #3B043B #3B2004 #043B04
split-complementary
#041F3B #3B0404 #3B3B04
monochromatic
#020F1D #020F1D #041F3B #083D74 #0C5BAE

Accessibility & contrast

On white

16.61
#041F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041F3B
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F3B#FFFFFF#000000##FFFFFF
##041F3B1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11213C
Deuteranopia (green-blind)
#071C3A
Tritanopia (blue-blind)
#00262A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #041f3b;
/* rgb */ color: rgb(4, 31, 59);
/* oklch */ color: oklch(23.7% 0.063 252.1);
Tailwind
colors: {
  custom: {
    50: '#4e5a71',
    500: '#041f3b',
    950: '#000000',
  },
}
SCSS
$custom: #041f3b;
$custom-light: #4e5a71;
$custom-dark: #000000;
JSON
{
  "hex": "#041f3b",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 210.545,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23675,
    "c": 0.06297,
    "h": 252.1
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#041F3B
secondary
#7D4E1E
accent
#962AFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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