#051D38#051D38

#051D38 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 22.9% C 0.060 H 253.5°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#051D38
RGBrgb(5, 29, 56)
HSLhsl(212, 84%, 12%)
HSVhsv(212, 91%, 22%)
CMYKcmyk(91.1%, 48.2%, 0%, 78%)
CIE-LABlab(10.53, 2.57, -20.23)
CIE-LCHlch(10.53, 20.39, 277.24°)
OKLaboklab(22.92% -0.0172 -0.0579)
OKLCHoklch(22.92% 0.06 253.5)
XYZxyz(1.2155, 1.1964, 3.9075)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051D38 #382005
analogous
#053738 #051D38 #070538
triadic
#051D38 #38051D #1D3805
tetradic
#051D38 #380537 #382005 #053807
square
#051D38 #380537 #382005 #053807
split-complementary
#051D38 #380705 #373805
monochromatic
#030F1C #030F1C #051D38 #0A3A70 #0F57A8

Accessibility & contrast

On white

16.94
#051D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#051D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051D38
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051D38#FFFFFF#000000##FFFFFF
##051D381.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F39
Deuteranopia (green-blind)
#071A37
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051d38;
/* rgb */ color: rgb(5, 29, 56);
/* oklch */ color: oklch(22.9% 0.060 253.5);
Tailwind
colors: {
  custom: {
    50: '#4e586f',
    500: '#051d38',
    950: '#000000',
  },
}
SCSS
$custom: #051d38;
$custom-light: #4e586f;
$custom-dark: #000000;
JSON
{
  "hex": "#051d38",
  "rgb": {
    "r": 5,
    "g": 29,
    "b": 56
  },
  "hsl": {
    "h": 211.765,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22921,
    "c": 0.06037,
    "h": 253.5
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#051D38
secondary
#794F20
accent
#9A2EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #051D38

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

Preview Lab → · Contrast checker → · Palette generator →

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