#05092F#05092F

#05092F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.075 H 270.0°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#05092F
RGBrgb(5, 9, 47)
HSLhsl(234, 81%, 10%)
HSVhsv(234, 89%, 18%)
CMYKcmyk(89.4%, 80.9%, 0%, 81.6%)
CIE-LABlab(3.91, 10.73, -24.26)
CIE-LCHlch(3.91, 26.52, 293.85°)
OKLaboklab(16.88% 0 -0.0752)
OKLCHoklch(16.88% 0.075 270)
XYZxyz(0.6732, 0.4328, 2.7368)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05092F #2F2B05
analogous
#051E2F #05092F #16052F
triadic
#05092F #2F0509 #092F05
tetradic
#05092F #2F051E #2F2B05 #052F16
square
#05092F #2F051E #2F2B05 #052F16
split-complementary
#05092F #2F1605 #1E2F05
monochromatic
#03051C #03051C #05092F #0B1466 #111E9E

Accessibility & contrast

On white

19.33
#05092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#05092F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05092F
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05092F#FFFFFF#000000##FFFFFF
##05092F1.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #05092f;
/* rgb */ color: rgb(5, 9, 47);
/* oklch */ color: oklch(16.9% 0.075 270.0);
Tailwind
colors: {
  custom: {
    50: '#4b4a68',
    500: '#05092f',
    950: '#000000',
  },
}
SCSS
$custom: #05092f;
$custom-light: #4b4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#05092f",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 234.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16882,
    "c": 0.07521,
    "h": 270
  },
  "luminance": 0.00433
}

Semantic roles & 50–950 ramp

primary
#05092F
secondary
#71691F
accent
#E431F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #05092F

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

Preview Lab → · Contrast checker → · Palette generator →

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