#051323#051323

#051323 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.4% C 0.039 H 252.0°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#051323
RGBrgb(5, 19, 35)
HSLhsl(212, 75%, 8%)
HSVhsv(212, 86%, 14%)
CMYKcmyk(85.7%, 45.7%, 0%, 86.3%)
CIE-LABlab(5.59, 0.41, -12.54)
CIE-LCHlch(5.59, 12.54, 271.89°)
OKLaboklab(18.36% -0.012 -0.037)
OKLCHoklch(18.36% 0.039 252)
XYZxyz(0.5987, 0.6193, 1.6778)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051323 #231505
analogous
#052223 #051323 #060523
triadic
#051323 #230513 #132305
tetradic
#051323 #230522 #231505 #052306
square
#051323 #230522 #231505 #052306
split-complementary
#051323 #230605 #222305
monochromatic
#040F1B #040F1B #051323 #0D3059 #144D8E

Accessibility & contrast

On white

18.69
#051323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#051323 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051323
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051323#FFFFFF#000000##FFFFFF
##0513231.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1424
Deuteranopia (green-blind)
#081123
Tritanopia (blue-blind)
#001719
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #051323;
/* rgb */ color: rgb(5, 19, 35);
/* oklch */ color: oklch(18.4% 0.039 252.0);
Tailwind
colors: {
  custom: {
    50: '#49505e',
    500: '#051323',
    950: '#000000',
  },
}
SCSS
$custom: #051323;
$custom-light: #49505e;
$custom-dark: #000000;
JSON
{
  "hex": "#051323",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 35
  },
  "hsl": {
    "h": 212,
    "s": 75,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18356,
    "c": 0.03892,
    "h": 252
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#051323
secondary
#64441F
accent
#9A36F2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010204
muted
#777879

Preview Lab

Preview with #051323

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

Preview Lab → · Contrast checker → · Palette generator →

#051323 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva