#051D3D#051D3D

#051D3D is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.3% C 0.068 H 256.5°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#051D3D
RGBrgb(5, 29, 61)
HSLhsl(214, 85%, 13%)
HSVhsv(214, 92%, 24%)
CMYKcmyk(91.8%, 52.5%, 0%, 76.1%)
CIE-LABlab(10.91, 4.93, -23.19)
CIE-LCHlch(10.91, 23.71, 282.01°)
OKLaboklab(23.33% -0.0159 -0.0666)
OKLCHoklch(23.33% 0.068 256.5)
XYZxyz(1.3439, 1.2478, 4.5840)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051D3D #3D2505
analogous
#05393D #051D3D #09053D
triadic
#051D3D #3D051D #1D3D05
tetradic
#051D3D #3D0539 #3D2505 #053D09
square
#051D3D #3D0539 #3D2505 #053D09
split-complementary
#051D3D #3D0905 #393D05
monochromatic
#020D1C #020D1C #051D3D #0A3876 #0E53AE

Accessibility & contrast

On white

16.81
#051D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051D3D
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051D3D#FFFFFF#000000##FFFFFF
##051D3D1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C203E
Deuteranopia (green-blind)
#021B3C
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051d3d;
/* rgb */ color: rgb(5, 29, 61);
/* oklch */ color: oklch(23.3% 0.068 256.5);
Tailwind
colors: {
  custom: {
    50: '#4f5873',
    500: '#051d3d',
    950: '#000000',
  },
}
SCSS
$custom: #051d3d;
$custom-light: #4f5873;
$custom-dark: #000000;
JSON
{
  "hex": "#051d3d",
  "rgb": {
    "r": 5,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 214.286,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23333,
    "c": 0.06845,
    "h": 256.5
  },
  "luminance": 0.01248
}

Semantic roles & 50–950 ramp

primary
#051D3D
secondary
#7E5620
accent
#A32DFB
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #051D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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