#051C2E#051C2E

#051C2E is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.9% C 0.046 H 245.1°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#051C2E
RGBrgb(5, 28, 46)
HSLhsl(206, 80%, 10%)
HSVhsv(206, 89%, 18%)
CMYKcmyk(89.1%, 39.1%, 0%, 82%)
CIE-LABlab(9.48, -1.35, -14.66)
CIE-LCHlch(9.48, 14.72, 264.75°)
OKLaboklab(21.88% -0.0193 -0.0416)
OKLCHoklch(21.88% 0.046 245.1)
XYZxyz(0.9708, 1.0599, 2.7377)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051C2E #2E1705
analogous
#052E2B #051C2E #05082E
triadic
#051C2E #2E051C #1C2E05
tetradic
#051C2E #2B052E #2E1705 #082E05
square
#051C2E #2B052E #2E1705 #082E05
split-complementary
#051C2E #2E0508 #2E2B05
monochromatic
#03111C #03111C #051C2E #0B3E65 #115F9C

Accessibility & contrast

On white

17.33
#051C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#051C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051C2E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051C2E#FFFFFF#000000##FFFFFF
##051C2E1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D2F
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #051c2e;
/* rgb */ color: rgb(5, 28, 46);
/* oklch */ color: oklch(21.9% 0.046 245.1);
Tailwind
colors: {
  custom: {
    50: '#4b5766',
    500: '#051c2e',
    950: '#000000',
  },
}
SCSS
$custom: #051c2e;
$custom-light: #4b5766;
$custom-dark: #000000;
JSON
{
  "hex": "#051c2e",
  "rgb": {
    "r": 5,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 206.341,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21878,
    "c": 0.04586,
    "h": 245.1
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#051C2E
secondary
#70421F
accent
#8831F7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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