#05092B#05092B

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

Color values

HEX#05092B
RGBrgb(5, 9, 43)
HSLhsl(234, 79%, 9%)
HSVhsv(234, 88%, 17%)
CMYKcmyk(88.4%, 79.1%, 0%, 83.1%)
CIE-LABlab(3.63, 8.77, -21.69)
CIE-LCHlch(3.63, 23.39, 292.02°)
OKLaboklab(16.41% 0.0003 -0.0686)
OKLCHoklch(16.41% 0.069 270.3)
XYZxyz(0.5962, 0.4020, 2.3312)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05092B #2B2705
analogous
#051C2B #05092B #14052B
triadic
#05092B #2B0509 #092B05
tetradic
#05092B #2B051C #2B2705 #052B14
square
#05092B #2B051C #2B2705 #052B14
split-complementary
#05092B #2B1405 #1C2B05
monochromatic
#03061B #03061B #05092B #0B1462 #122099

Accessibility & contrast

On white

19.44
#05092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05092B
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05092B#FFFFFF#000000##FFFFFF
##05092B1.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05092b;
/* rgb */ color: rgb(5, 9, 43);
/* oklch */ color: oklch(16.4% 0.069 270.3);
Tailwind
colors: {
  custom: {
    50: '#4a4a64',
    500: '#05092b',
    950: '#000000',
  },
}
SCSS
$custom: #05092b;
$custom-light: #4a4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#05092b",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 233.684,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16405,
    "c": 0.0686,
    "h": 270.3
  },
  "luminance": 0.00402
}

Semantic roles & 50–950 ramp

primary
#05092B
secondary
#6D641F
accent
#E132F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #05092B

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

Preview Lab → · Contrast checker → · Palette generator →

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