#05091C#05091C

#05091C is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.8% C 0.042 H 269.7°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#05091C
RGBrgb(5, 9, 28)
HSLhsl(230, 70%, 6%)
HSVhsv(230, 82%, 11%)
CMYKcmyk(82.1%, 67.9%, 0%, 89%)
CIE-LABlab(2.81, 3.02, -11.30)
CIE-LCHlch(2.81, 11.70, 284.98°)
OKLaboklab(14.81% -0.0002 -0.0416)
OKLCHoklch(14.81% 0.042 269.7)
XYZxyz(0.3698, 0.3114, 1.1390)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05091C #1C1805
analogous
#05151C #05091C #0D051C
triadic
#05091C #1C0509 #091C05
tetradic
#05091C #1C0515 #1C1805 #051C0D
square
#05091C #1C0515 #1C1805 #051C0D
split-complementary
#05091C #1C0D05 #151C05
monochromatic
#05081A #05081A #05091C #0E1A50 #182A84

Accessibility & contrast

On white

19.77
#05091C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#05091C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05091C
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05091C#FFFFFF#000000##FFFFFF
##05091C1.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020B1D
Deuteranopia (green-blind)
#01091C
Tritanopia (blue-blind)
#000D11
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #05091c;
/* rgb */ color: rgb(5, 9, 28);
/* oklch */ color: oklch(14.8% 0.042 269.7);
Tailwind
colors: {
  custom: {
    50: '#484b58',
    500: '#05091c',
    950: '#000000',
  },
}
SCSS
$custom: #05091c;
$custom-light: #484b58;
$custom-dark: #000000;
JSON
{
  "hex": "#05091c",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 28
  },
  "hsl": {
    "h": 229.565,
    "s": 69.697,
    "l": 6.471
  },
  "oklch": {
    "l": 0.14811,
    "c": 0.04157,
    "h": 269.7
  },
  "luminance": 0.00311
}

Semantic roles & 50–950 ramp

primary
#05091C
secondary
#5D5220
accent
#CE3BED
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05091C

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

Preview Lab → · Contrast checker → · Palette generator →

#05091C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva