#05052F#05052F

#05052F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.082 H 272.1°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#05052F
RGBrgb(5, 5, 47)
HSLhsl(240, 81%, 10%)
HSVhsv(240, 89%, 18%)
CMYKcmyk(89.4%, 89.4%, 0%, 81.6%)
CIE-LABlab(3.13, 12.33, -25.51)
CIE-LCHlch(3.13, 28.33, 295.79°)
OKLaboklab(15.91% 0.0031 -0.0817)
OKLCHoklch(15.91% 0.082 272.1)
XYZxyz(0.6298, 0.3460, 2.7224)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05052F #2F2F05
analogous
#051A2F #05052F #1A052F
triadic
#05052F #2F0505 #052F05
tetradic
#05052F #2F051A #2F2F05 #052F1A
square
#05052F #2F051A #2F2F05 #052F1A
split-complementary
#05052F #2F1A05 #1A2F05
monochromatic
#03031C #03031C #05052F #0B0B66 #11119E

Accessibility & contrast

On white

19.64
#05052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05052F
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05052F#FFFFFF#000000##FFFFFF
##05052F1.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#00092E
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #05052f;
/* rgb */ color: rgb(5, 5, 47);
/* oklch */ color: oklch(15.9% 0.082 272.1);
Tailwind
colors: {
  custom: {
    50: '#4b4868',
    500: '#05052f',
    950: '#000000',
  },
}
SCSS
$custom: #05052f;
$custom-light: #4b4868;
$custom-dark: #000000;
JSON
{
  "hex": "#05052f",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15906,
    "c": 0.08178,
    "h": 272.1
  },
  "luminance": 0.00346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #05052F

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

Preview Lab → · Contrast checker → · Palette generator →

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