#051F37#051F37

#051F37 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.4% C 0.056 H 249.6°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#051F37
RGBrgb(5, 31, 55)
HSLhsl(209, 83%, 12%)
HSVhsv(209, 91%, 22%)
CMYKcmyk(90.9%, 43.6%, 0%, 78.4%)
CIE-LABlab(11.19, 0.56, -18.46)
CIE-LCHlch(11.19, 18.47, 271.75°)
OKLaboklab(23.42% -0.0196 -0.0526)
OKLCHoklch(23.42% 0.056 249.6)
XYZxyz(1.2419, 1.2879, 3.7968)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051F37 #371D05
analogous
#053736 #051F37 #050637
triadic
#051F37 #37051F #1F3705
tetradic
#051F37 #360537 #371D05 #063705
square
#051F37 #360537 #371D05 #063705
split-complementary
#051F37 #370506 #373605
monochromatic
#03101C #03101C #051F37 #0A3F6F #0F5EA7

Accessibility & contrast

On white

16.70
#051F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#051F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051F37
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051F37#FFFFFF#000000##FFFFFF
##051F371.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142038
Deuteranopia (green-blind)
#0C1C37
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #051f37;
/* rgb */ color: rgb(5, 31, 55);
/* oklch */ color: oklch(23.4% 0.056 249.6);
Tailwind
colors: {
  custom: {
    50: '#4e5a6e',
    500: '#051f37',
    950: '#000000',
  },
}
SCSS
$custom: #051f37;
$custom-light: #4e5a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#051f37",
  "rgb": {
    "r": 5,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 208.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23415,
    "c": 0.05618,
    "h": 249.6
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#051F37
secondary
#784A20
accent
#902EFA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #051F37

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

Preview Lab → · Contrast checker → · Palette generator →

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