#04103A#04103A

#04103A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.083 H 265.3°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#04103A
RGBrgb(4, 16, 58)
HSLhsl(227, 87%, 12%)
HSVhsv(227, 93%, 23%)
CMYKcmyk(93.1%, 72.4%, 0%, 77.3%)
CIE-LABlab(6.34, 13.23, -28.44)
CIE-LCHlch(6.34, 31.36, 294.94°)
OKLaboklab(19.67% -0.0069 -0.083)
OKLCHoklch(19.67% 0.083 265.3)
XYZxyz(0.9988, 0.7018, 4.0850)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04103A #3A2E04
analogous
#042B3A #04103A #13043A
triadic
#04103A #3A0410 #103A04
tetradic
#04103A #3A042B #3A2E04 #043A13
square
#04103A #3A042B #3A2E04 #043A13
split-complementary
#04103A #3A1304 #2B3A04
monochromatic
#02081D #02081D #04103A #082073 #0C30AD

Accessibility & contrast

On white

18.41
#04103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#04103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04103A
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04103A#FFFFFF#000000##FFFFFF
##04103A1.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #04103a;
/* rgb */ color: rgb(4, 16, 58);
/* oklch */ color: oklch(19.7% 0.083 265.3);
Tailwind
colors: {
  custom: {
    50: '#4f4e71',
    500: '#04103a',
    950: '#000000',
  },
}
SCSS
$custom: #04103a;
$custom-light: #4f4e71;
$custom-dark: #000000;
JSON
{
  "hex": "#04103a",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 226.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19668,
    "c": 0.08326,
    "h": 265.3
  },
  "luminance": 0.00702
}

Semantic roles & 50–950 ramp

primary
#04103A
secondary
#7C671E
accent
#CE2BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #04103A

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

Preview Lab → · Contrast checker → · Palette generator →

#04103A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva