#05092D#05092D

#05092D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.072 H 270.2°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#05092D
RGBrgb(5, 9, 45)
HSLhsl(234, 80%, 10%)
HSVhsv(234, 89%, 18%)
CMYKcmyk(88.9%, 80%, 0%, 82.4%)
CIE-LABlab(3.77, 9.73, -22.98)
CIE-LCHlch(3.77, 24.96, 292.94°)
OKLaboklab(16.64% 0.0002 -0.0719)
OKLCHoklch(16.64% 0.072 270.2)
XYZxyz(0.6338, 0.4170, 2.5292)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05092D #2D2905
analogous
#051D2D #05092D #15052D
triadic
#05092D #2D0509 #092D05
tetradic
#05092D #2D051D #2D2905 #052D15
square
#05092D #2D051D #2D2905 #052D15
split-complementary
#05092D #2D1505 #1D2D05
monochromatic
#03061C #03061C #05092D #0B1464 #111F9B

Accessibility & contrast

On white

19.38
#05092D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05092D
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05092D#FFFFFF#000000##FFFFFF
##05092D1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000B2C
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #05092d;
/* rgb */ color: rgb(5, 9, 45);
/* oklch */ color: oklch(16.6% 0.072 270.2);
Tailwind
colors: {
  custom: {
    50: '#4a4a66',
    500: '#05092d',
    950: '#000000',
  },
}
SCSS
$custom: #05092d;
$custom-light: #4a4a66;
$custom-dark: #000000;
JSON
{
  "hex": "#05092d",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 45
  },
  "hsl": {
    "h": 234,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16642,
    "c": 0.07194,
    "h": 270.2
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#05092D
secondary
#6F671F
accent
#E331F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #05092D

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

Preview Lab → · Contrast checker → · Palette generator →

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