#05052A#05052A

#05052A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.2% C 0.074 H 273.3°. Best body text is #FFFFFF at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#05052A
RGBrgb(5, 5, 42)
HSLhsl(240, 79%, 9%)
HSVhsv(240, 88%, 16%)
CMYKcmyk(88.1%, 88.1%, 0%, 83.5%)
CIE-LABlab(2.78, 9.91, -22.27)
CIE-LCHlch(2.78, 24.37, 293.99°)
OKLaboklab(15.23% 0.0042 -0.0739)
OKLCHoklch(15.23% 0.074 273.3)
XYZxyz(0.5346, 0.3079, 2.2213)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05052A #2A2A05
analogous
#05182A #05052A #18052A
triadic
#05052A #2A0505 #052A05
tetradic
#05052A #2A0518 #2A2A05 #052A18
square
#05052A #2A0518 #2A2A05 #052A18
split-complementary
#05052A #2A1805 #182A05
monochromatic
#03031B #03031B #05052A #0C0C61 #121297

Accessibility & contrast

On white

19.78
#05052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#05052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05052A
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05052A#FFFFFF#000000##FFFFFF
##05052A1.0019.781.0619.78
#FFFFFF19.781.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000829
Tritanopia (blue-blind)
#000F16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #05052a;
/* rgb */ color: rgb(5, 5, 42);
/* oklch */ color: oklch(15.2% 0.074 273.3);
Tailwind
colors: {
  custom: {
    50: '#494964',
    500: '#05052a',
    950: '#000000',
  },
}
SCSS
$custom: #05052a;
$custom-light: #494964;
$custom-dark: #000000;
JSON
{
  "hex": "#05052a",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 240,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15233,
    "c": 0.07404,
    "h": 273.3
  },
  "luminance": 0.00308
}

Semantic roles & 50–950 ramp

primary
#05052A
secondary
#6C6C1F
accent
#F533F5
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #05052A

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

Preview Lab → · Contrast checker → · Palette generator →

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