#05143F#05143F

#05143F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.085 H 264.5°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#05143F
RGBrgb(5, 20, 63)
HSLhsl(224, 85%, 13%)
HSVhsv(224, 92%, 25%)
CMYKcmyk(92.1%, 68.3%, 0%, 75.3%)
CIE-LABlab(8.05, 13.07, -29.23)
CIE-LCHlch(8.05, 32.02, 294.09°)
OKLaboklab(21.22% -0.0081 -0.0846)
OKLCHoklch(21.22% 0.085 264.5)
XYZxyz(1.2096, 0.8913, 4.8099)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05143F #3F3005
analogous
#05313F #05143F #13053F
triadic
#05143F #3F0514 #143F05
tetradic
#05143F #3F0531 #3F3005 #053F13
square
#05143F #3F0531 #3F3005 #053F13
split-complementary
#05143F #3F1305 #313F05
monochromatic
#02091C #02091C #05143F #092678 #0E38B0

Accessibility & contrast

On white

17.82
#05143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#05143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05143F
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05143F#FFFFFF#000000##FFFFFF
##05143F1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #05143f;
/* rgb */ color: rgb(5, 20, 63);
/* oklch */ color: oklch(21.2% 0.085 264.5);
Tailwind
colors: {
  custom: {
    50: '#515074',
    500: '#05143f',
    950: '#000000',
  },
}
SCSS
$custom: #05143f;
$custom-light: #515074;
$custom-dark: #000000;
JSON
{
  "hex": "#05143f",
  "rgb": {
    "r": 5,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 224.483,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21217,
    "c": 0.08495,
    "h": 264.5
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#05143F
secondary
#806720
accent
#C62CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #05143F

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

Preview Lab → · Contrast checker → · Palette generator →

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