#051D3C#051D3C

#051D3C is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.2% C 0.067 H 256.0°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#051D3C
RGBrgb(5, 29, 60)
HSLhsl(214, 85%, 13%)
HSVhsv(214, 92%, 24%)
CMYKcmyk(91.7%, 51.7%, 0%, 76.5%)
CIE-LABlab(10.83, 4.46, -22.60)
CIE-LCHlch(10.83, 23.04, 281.17°)
OKLaboklab(23.25% -0.0162 -0.0648)
OKLCHoklch(23.25% 0.067 256)
XYZxyz(1.3173, 1.2371, 4.4434)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051D3C #3C2405
analogous
#05383C #051D3C #08053C
triadic
#051D3C #3C051D #1D3C05
tetradic
#051D3C #3C0538 #3C2405 #053C08
square
#051D3C #3C0538 #3C2405 #053C08
split-complementary
#051D3C #3C0805 #383C05
monochromatic
#020E1C #020E1C #051D3C #0A3874 #0E54AD

Accessibility & contrast

On white

16.84
#051D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#051D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051D3C
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051D3C#FFFFFF#000000##FFFFFF
##051D3C1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203D
Deuteranopia (green-blind)
#031B3B
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051d3c;
/* rgb */ color: rgb(5, 29, 60);
/* oklch */ color: oklch(23.2% 0.067 256.0);
Tailwind
colors: {
  custom: {
    50: '#4f5872',
    500: '#051d3c',
    950: '#000000',
  },
}
SCSS
$custom: #051d3c;
$custom-light: #4f5872;
$custom-dark: #000000;
JSON
{
  "hex": "#051d3c",
  "rgb": {
    "r": 5,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 213.818,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23249,
    "c": 0.06683,
    "h": 256
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#051D3C
secondary
#7D5420
accent
#A12DFB
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #051D3C

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

Preview Lab → · Contrast checker → · Palette generator →

#051D3C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva