#051928#051928

#051928 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.5% C 0.040 H 243.3°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#051928
RGBrgb(5, 25, 40)
HSLhsl(206, 78%, 9%)
HSVhsv(206, 88%, 16%)
CMYKcmyk(87.5%, 37.5%, 0%, 84.3%)
CIE-LABlab(7.95, -1.80, -12.63)
CIE-LCHlch(7.95, 12.76, 261.90°)
OKLaboklab(20.55% -0.018 -0.0357)
OKLCHoklch(20.55% 0.04 243.3)
XYZxyz(0.7931, 0.8806, 2.1353)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051928 #281405
analogous
#052826 #051928 #050828
triadic
#051928 #280519 #192805
tetradic
#051928 #260528 #281405 #082805
square
#051928 #260528 #281405 #082805
split-complementary
#051928 #280508 #282605
monochromatic
#03111B #03111B #051928 #0C3B5E #135D95

Accessibility & contrast

On white

17.85
#051928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#051928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051928
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051928#FFFFFF#000000##FFFFFF
##0519281.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121929
Deuteranopia (green-blind)
#0D1628
Tritanopia (blue-blind)
#001D1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051928;
/* rgb */ color: rgb(5, 25, 40);
/* oklch */ color: oklch(20.5% 0.040 243.3);
Tailwind
colors: {
  custom: {
    50: '#4a5562',
    500: '#051928',
    950: '#000000',
  },
}
SCSS
$custom: #051928;
$custom-light: #4a5562;
$custom-dark: #000000;
JSON
{
  "hex": "#051928",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 40
  },
  "hsl": {
    "h": 205.714,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20549,
    "c": 0.03999,
    "h": 243.3
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#051928
secondary
#6A3F1F
accent
#8634F4
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010305
muted
#777879

Preview Lab

Preview with #051928

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

Preview Lab → · Contrast checker → · Palette generator →

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