#05143B#05143B

#05143B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.079 H 263.9°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#05143B
RGBrgb(5, 20, 59)
HSLhsl(223, 84%, 13%)
HSVhsv(223, 92%, 23%)
CMYKcmyk(91.5%, 66.1%, 0%, 76.9%)
CIE-LABlab(7.66, 11.17, -27.01)
CIE-LCHlch(7.66, 29.23, 292.47°)
OKLaboklab(20.8% -0.0083 -0.078)
OKLCHoklch(20.8% 0.079 263.9)
XYZxyz(1.1019, 0.8482, 4.2425)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05143B #3B2C05
analogous
#052F3B #05143B #11053B
triadic
#05143B #3B0514 #143B05
tetradic
#05143B #3B052F #3B2C05 #053B11
square
#05143B #3B052F #3B2C05 #053B11
split-complementary
#05143B #3B1105 #2F3B05
monochromatic
#020A1C #020A1C #05143B #0A2773 #0F3AAC

Accessibility & contrast

On white

17.95
#05143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#05143B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05143B
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05143B#FFFFFF#000000##FFFFFF
##05143B1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05143b;
/* rgb */ color: rgb(5, 20, 59);
/* oklch */ color: oklch(20.8% 0.079 263.9);
Tailwind
colors: {
  custom: {
    50: '#4f5071',
    500: '#05143b',
    950: '#000000',
  },
}
SCSS
$custom: #05143b;
$custom-light: #4f5071;
$custom-dark: #000000;
JSON
{
  "hex": "#05143b",
  "rgb": {
    "r": 5,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 223.333,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20799,
    "c": 0.0785,
    "h": 263.9
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#05143B
secondary
#7C6220
accent
#C22DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #05143B

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

Preview Lab → · Contrast checker → · Palette generator →

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