#05092A#05092A

#05092A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.067 H 270.3°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#05092A
RGBrgb(5, 9, 42)
HSLhsl(234, 79%, 9%)
HSVhsv(234, 88%, 16%)
CMYKcmyk(88.1%, 78.6%, 0%, 83.5%)
CIE-LABlab(3.57, 8.31, -21.03)
CIE-LCHlch(3.57, 22.62, 291.56°)
OKLaboklab(16.29% 0.0004 -0.0669)
OKLCHoklch(16.29% 0.067 270.3)
XYZxyz(0.5780, 0.3947, 2.2358)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05092A #2A2605
analogous
#051C2A #05092A #14052A
triadic
#05092A #2A0509 #092A05
tetradic
#05092A #2A051C #2A2605 #052A14
square
#05092A #2A051C #2A2605 #052A14
split-complementary
#05092A #2A1405 #1C2A05
monochromatic
#03061B #03061B #05092A #0C1561 #122097

Accessibility & contrast

On white

19.46
#05092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#05092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05092A
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05092A#FFFFFF#000000##FFFFFF
##05092A1.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#000B29
Tritanopia (blue-blind)
#001218
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #05092a;
/* rgb */ color: rgb(5, 9, 42);
/* oklch */ color: oklch(16.3% 0.067 270.3);
Tailwind
colors: {
  custom: {
    50: '#494a64',
    500: '#05092a',
    950: '#000000',
  },
}
SCSS
$custom: #05092a;
$custom-light: #494a64;
$custom-dark: #000000;
JSON
{
  "hex": "#05092a",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 233.514,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16289,
    "c": 0.06692,
    "h": 270.3
  },
  "luminance": 0.00395
}

Semantic roles & 50–950 ramp

primary
#05092A
secondary
#6C631F
accent
#E033F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #05092A

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

Preview Lab → · Contrast checker → · Palette generator →

#05092A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva