#05052E#05052E

#05052E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.080 H 272.3°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#05052E
RGBrgb(5, 5, 46)
HSLhsl(240, 80%, 10%)
HSVhsv(240, 89%, 18%)
CMYKcmyk(89.1%, 89.1%, 0%, 82%)
CIE-LABlab(3.05, 11.82, -24.87)
CIE-LCHlch(3.05, 27.54, 295.42°)
OKLaboklab(15.77% 0.0033 -0.0802)
OKLCHoklch(15.77% 0.08 272.3)
XYZxyz(0.6098, 0.3380, 2.6173)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05052E #2E2E05
analogous
#05192E #05052E #19052E
triadic
#05052E #2E0505 #052E05
tetradic
#05052E #2E051A #2E2E05 #052E1A
square
#05052E #2E051A #2E2E05 #052E1A
split-complementary
#05052E #2E1A05 #1A2E05
monochromatic
#03031C #03031C #05052E #0B0B65 #11119C

Accessibility & contrast

On white

19.67
#05052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#05052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05052E
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05052E#FFFFFF#000000##FFFFFF
##05052E1.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#00092D
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #05052e;
/* rgb */ color: rgb(5, 5, 46);
/* oklch */ color: oklch(15.8% 0.080 272.3);
Tailwind
colors: {
  custom: {
    50: '#4a4967',
    500: '#05052e',
    950: '#000000',
  },
}
SCSS
$custom: #05052e;
$custom-light: #4a4967;
$custom-dark: #000000;
JSON
{
  "hex": "#05052e",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.1577,
    "c": 0.08026,
    "h": 272.3
  },
  "luminance": 0.00338
}

Semantic roles & 50–950 ramp

primary
#05052E
secondary
#70701F
accent
#F731F7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #05052E

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

Preview Lab → · Contrast checker → · Palette generator →

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