#041C3F#041C3F

#041C3F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.074 H 257.8°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#041C3F
RGBrgb(4, 28, 63)
HSLhsl(216, 88%, 13%)
HSVhsv(216, 94%, 25%)
CMYKcmyk(93.7%, 55.6%, 0%, 75.3%)
CIE-LABlab(10.67, 6.51, -24.99)
CIE-LCHlch(10.67, 25.82, 284.59°)
OKLaboklab(23.19% -0.0156 -0.0719)
OKLCHoklch(23.19% 0.074 257.8)
XYZxyz(1.3622, 1.2150, 4.8644)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041C3F #3F2704
analogous
#04393F #041C3F #09043F
triadic
#041C3F #3F041C #1C3F04
tetradic
#041C3F #3F0439 #3F2704 #043F09
square
#041C3F #3F0439 #3F2704 #043F09
split-complementary
#041C3F #3F0904 #393F04
monochromatic
#020D1D #020D1D #041C3F #083679 #0B4FB2

Accessibility & contrast

On white

16.89
#041C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041C3F
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041C3F#FFFFFF#000000##FFFFFF
##041C3F1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072040
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #041c3f;
/* rgb */ color: rgb(4, 28, 63);
/* oklch */ color: oklch(23.2% 0.074 257.8);
Tailwind
colors: {
  custom: {
    50: '#505774',
    500: '#041c3f',
    950: '#000000',
  },
}
SCSS
$custom: #041c3f;
$custom-light: #505774;
$custom-dark: #000000;
JSON
{
  "hex": "#041c3f",
  "rgb": {
    "r": 4,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 215.593,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23188,
    "c": 0.07358,
    "h": 257.8
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#041C3F
secondary
#80591E
accent
#A82AFE
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #041C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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