#041D3B#041D3B

#041D3B is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.1% C 0.066 H 254.7°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#041D3B
RGBrgb(4, 29, 59)
HSLhsl(213, 87%, 12%)
HSVhsv(213, 93%, 23%)
CMYKcmyk(93.2%, 50.8%, 0%, 76.9%)
CIE-LABlab(10.70, 3.81, -22.09)
CIE-LCHlch(10.70, 22.42, 279.78°)
OKLaboklab(23.12% -0.0174 -0.0634)
OKLCHoklch(23.12% 0.066 254.7)
XYZxyz(1.2786, 1.2201, 4.3050)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041D3B #3B2204
analogous
#04393B #041D3B #06043B
triadic
#041D3B #3B041D #1D3B04
tetradic
#041D3B #3B0439 #3B2204 #043B06
square
#041D3B #3B0439 #3B2204 #043B06
split-complementary
#041D3B #3B0604 #393B04
monochromatic
#020E1D #020E1D #041D3B #083974 #0C55AE

Accessibility & contrast

On white

16.88
#041D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#041D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041D3B
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041D3B#FFFFFF#000000##FFFFFF
##041D3B1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203C
Deuteranopia (green-blind)
#031B3A
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #041d3b;
/* rgb */ color: rgb(4, 29, 59);
/* oklch */ color: oklch(23.1% 0.066 254.7);
Tailwind
colors: {
  custom: {
    50: '#4e5871',
    500: '#041d3b',
    950: '#000000',
  },
}
SCSS
$custom: #041d3b;
$custom-light: #4e5871;
$custom-dark: #000000;
JSON
{
  "hex": "#041d3b",
  "rgb": {
    "r": 4,
    "g": 29,
    "b": 59
  },
  "hsl": {
    "h": 212.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23115,
    "c": 0.06571,
    "h": 254.7
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#041D3B
secondary
#7D521E
accent
#9D2AFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #041D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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