#05062E#05062E

#05062E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.0% C 0.078 H 271.8°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#05062E
RGBrgb(5, 6, 46)
HSLhsl(239, 80%, 10%)
HSVhsv(239, 89%, 18%)
CMYKcmyk(89.1%, 87%, 0%, 82%)
CIE-LABlab(3.25, 11.42, -24.56)
CIE-LCHlch(3.25, 27.09, 294.94°)
OKLaboklab(16.03% 0.0025 -0.0785)
OKLCHoklch(16.03% 0.078 271.8)
XYZxyz(0.6207, 0.3597, 2.6210)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05062E #2E2D05
analogous
#051A2E #05062E #19052E
triadic
#05062E #2E0506 #062E05
tetradic
#05062E #2E051A #2E2D05 #052E19
square
#05062E #2E051A #2E2D05 #052E19
split-complementary
#05062E #2E1905 #1A2E05
monochromatic
#03041C #03041C #05062E #0B0D65 #11149C

Accessibility & contrast

On white

19.59
#05062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05062E
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05062E#FFFFFF#000000##FFFFFF
##05062E1.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2F
Deuteranopia (green-blind)
#000A2D
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #05062e;
/* rgb */ color: rgb(5, 6, 46);
/* oklch */ color: oklch(16.0% 0.078 271.8);
Tailwind
colors: {
  custom: {
    50: '#4a4967',
    500: '#05062e',
    950: '#000000',
  },
}
SCSS
$custom: #05062e;
$custom-light: #4a4967;
$custom-dark: #000000;
JSON
{
  "hex": "#05062e",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 238.537,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.16029,
    "c": 0.07849,
    "h": 271.8
  },
  "luminance": 0.0036
}

Semantic roles & 50–950 ramp

primary
#05062E
secondary
#706E1F
accent
#F231F7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #05062E

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

Preview Lab → · Contrast checker → · Palette generator →

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