#05091E#05091E

#05091E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.0% C 0.045 H 270.1°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#05091E
RGBrgb(5, 9, 30)
HSLhsl(230, 71%, 7%)
HSVhsv(230, 83%, 12%)
CMYKcmyk(83.3%, 70%, 0%, 88.2%)
CIE-LABlab(2.90, 3.65, -12.76)
CIE-LCHlch(2.90, 13.27, 285.97°)
OKLaboklab(15% 0.0001 -0.0454)
OKLCHoklch(15% 0.045 270.1)
XYZxyz(0.3945, 0.3213, 1.2693)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05091E #1E1A05
analogous
#05161E #05091E #0E051E
triadic
#05091E #1E0509 #091E05
tetradic
#05091E #1E0516 #1E1A05 #051E0E
square
#05091E #1E0516 #1E1A05 #051E0E
split-complementary
#05091E #1E0E05 #161E05
monochromatic
#04081A #04081A #05091E #0E1952 #162887

Accessibility & contrast

On white

19.73
#05091E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05091E
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05091E#FFFFFF#000000##FFFFFF
##05091E1.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010C1F
Deuteranopia (green-blind)
#00091E
Tritanopia (blue-blind)
#000E12
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #05091e;
/* rgb */ color: rgb(5, 9, 30);
/* oklch */ color: oklch(15.0% 0.045 270.1);
Tailwind
colors: {
  custom: {
    50: '#484b59',
    500: '#05091e',
    950: '#000000',
  },
}
SCSS
$custom: #05091e;
$custom-light: #484b59;
$custom-dark: #000000;
JSON
{
  "hex": "#05091e",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 30
  },
  "hsl": {
    "h": 230.4,
    "s": 71.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15002,
    "c": 0.0454,
    "h": 270.1
  },
  "luminance": 0.00321
}

Semantic roles & 50–950 ramp

primary
#05091E
secondary
#5F5520
accent
#D13AEE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05091E

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

Preview Lab → · Contrast checker → · Palette generator →

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