#05043F#05043F

#05043F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.106 H 269.7°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#05043F
RGBrgb(5, 4, 63)
HSLhsl(241, 88%, 13%)
HSVhsv(241, 94%, 25%)
CMYKcmyk(92.1%, 93.7%, 0%, 75.3%)
CIE-LABlab(4.32, 22.09, -35.33)
CIE-LCHlch(4.32, 41.67, 302.02°)
OKLaboklab(17.97% -0.0006 -0.1061)
OKLCHoklch(17.97% 0.106 269.7)
XYZxyz(1.0029, 0.4779, 4.7410)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05043F #3E3F04
analogous
#04203F #05043F #22043F
triadic
#05043F #3F0504 #043F05
tetradic
#05043F #3F0420 #3E3F04 #043F22
square
#05043F #3F0420 #3E3F04 #043F22
split-complementary
#05043F #3F2204 #203F04
monochromatic
#02021D #02021D #05043F #0A0879 #0E0BB2

Accessibility & contrast

On white

19.17
#05043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#05043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05043F
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05043F#FFFFFF#000000##FFFFFF
##05043F1.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001241
Deuteranopia (green-blind)
#000C3E
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #05043f;
/* rgb */ color: rgb(5, 4, 63);
/* oklch */ color: oklch(18.0% 0.106 269.7);
Tailwind
colors: {
  custom: {
    50: '#514775',
    500: '#05043f',
    950: '#000000',
  },
}
SCSS
$custom: #05043f;
$custom-light: #514775;
$custom-dark: #000000;
JSON
{
  "hex": "#05043f",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 241.017,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.17965,
    "c": 0.10614,
    "h": 269.7
  },
  "luminance": 0.00478
}

Semantic roles & 50–950 ramp

primary
#05043F
secondary
#7F801E
accent
#FE2AFB
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #05043F

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

Preview Lab → · Contrast checker → · Palette generator →

#05043F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva