#051F2E#051F2E

#051F2E is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.8% C 0.043 H 237.6°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#051F2E
RGBrgb(5, 31, 46)
HSLhsl(202, 80%, 10%)
HSVhsv(202, 89%, 18%)
CMYKcmyk(89.1%, 32.6%, 0%, 82%)
CIE-LABlab(10.63, -3.57, -12.86)
CIE-LCHlch(10.63, 13.35, 254.48°)
OKLaboklab(22.78% -0.023 -0.0363)
OKLCHoklch(22.78% 0.043 237.6)
XYZxyz(1.0455, 1.2094, 2.7626)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051F2E #2E1405
analogous
#052E28 #051F2E #050B2E
triadic
#051F2E #2E051F #1F2E05
tetradic
#051F2E #28052E #2E1405 #0B2E05
square
#051F2E #28052E #2E1405 #0B2E05
split-complementary
#051F2E #2E050B #2E2805
monochromatic
#03131C #03131C #051F2E #0B4465 #11699C

Accessibility & contrast

On white

16.91
#051F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051F2E
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051F2E#FFFFFF#000000##FFFFFF
##051F2E1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2F
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#002324
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051f2e;
/* rgb */ color: rgb(5, 31, 46);
/* oklch */ color: oklch(22.8% 0.043 237.6);
Tailwind
colors: {
  custom: {
    50: '#4b5a66',
    500: '#051f2e',
    950: '#000000',
  },
}
SCSS
$custom: #051f2e;
$custom-light: #4b5a66;
$custom-dark: #000000;
JSON
{
  "hex": "#051f2e",
  "rgb": {
    "r": 5,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 201.951,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.22784,
    "c": 0.04298,
    "h": 237.6
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#051F2E
secondary
#703D1F
accent
#7931F7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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