#051E38#051E38

#051E38 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 23.2% C 0.059 H 252.0°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#051E38
RGBrgb(5, 30, 56)
HSLhsl(211, 84%, 12%)
HSVhsv(211, 91%, 22%)
CMYKcmyk(91.1%, 46.4%, 0%, 78%)
CIE-LABlab(10.89, 1.80, -19.65)
CIE-LCHlch(10.89, 19.73, 275.22°)
OKLaboklab(23.21% -0.0182 -0.0561)
OKLCHoklch(23.21% 0.059 252)
XYZxyz(1.2404, 1.2462, 3.9158)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051E38 #381F05
analogous
#053838 #051E38 #050538
triadic
#051E38 #38051E #1E3805
tetradic
#051E38 #380538 #381F05 #053805
square
#051E38 #380538 #381F05 #053805
split-complementary
#051E38 #380505 #383805
monochromatic
#030F1C #030F1C #051E38 #0A3C70 #0F5AA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##051E38#FFFFFF#000000##FFFFFF
##051E381.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)
#112039
Deuteranopia (green-blind)
#091B37
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051e38;
/* rgb */ color: rgb(5, 30, 56);
/* oklch */ color: oklch(23.2% 0.059 252.0);
Tailwind
colors: {
  custom: {
    50: '#4e596f',
    500: '#051e38',
    950: '#000000',
  },
}
SCSS
$custom: #051e38;
$custom-light: #4e596f;
$custom-dark: #000000;
JSON
{
  "hex": "#051e38",
  "rgb": {
    "r": 5,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 210.588,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23205,
    "c": 0.05903,
    "h": 252
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#051E38
secondary
#794D20
accent
#962EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #051E38

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

Preview Lab → · Contrast checker → · Palette generator →

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