#05091F#05091F

#05091F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.1% C 0.047 H 270.2°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#05091F
RGBrgb(5, 9, 31)
HSLhsl(231, 72%, 7%)
HSVhsv(231, 84%, 12%)
CMYKcmyk(83.9%, 71%, 0%, 87.8%)
CIE-LABlab(2.95, 3.98, -13.48)
CIE-LCHlch(2.95, 14.05, 286.45°)
OKLaboklab(15.1% 0.0002 -0.0473)
OKLCHoklch(15.1% 0.047 270.2)
XYZxyz(0.4075, 0.3265, 1.3376)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05091F #1F1B05
analogous
#05161F #05091F #0E051F
triadic
#05091F #1F0509 #091F05
tetradic
#05091F #1F0516 #1F1B05 #051F0E
square
#05091F #1F0516 #1F1B05 #051F0E
split-complementary
#05091F #1F0E05 #161F05
monochromatic
#04081A #04081A #05091F #0E1854 #162888

Accessibility & contrast

On white

19.71
#05091F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#05091F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05091F
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05091F#FFFFFF#000000##FFFFFF
##05091F1.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010C20
Deuteranopia (green-blind)
#000A1F
Tritanopia (blue-blind)
#000E12
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #05091f;
/* rgb */ color: rgb(5, 9, 31);
/* oklch */ color: oklch(15.1% 0.047 270.2);
Tailwind
colors: {
  custom: {
    50: '#484b5a',
    500: '#05091f',
    950: '#000000',
  },
}
SCSS
$custom: #05091f;
$custom-light: #484b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05091f",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 31
  },
  "hsl": {
    "h": 230.769,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15101,
    "c": 0.04728,
    "h": 270.2
  },
  "luminance": 0.00327
}

Semantic roles & 50–950 ramp

primary
#05091F
secondary
#605620
accent
#D339EF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05091F

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

Preview Lab → · Contrast checker → · Palette generator →

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