#051E2F#051E2F

#051E2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.5% C 0.045 H 241.8°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#051E2F
RGBrgb(5, 30, 47)
HSLhsl(204, 81%, 10%)
HSVhsv(204, 89%, 18%)
CMYKcmyk(89.4%, 36.2%, 0%, 81.6%)
CIE-LABlab(10.30, -2.38, -14.09)
CIE-LCHlch(10.30, 14.29, 260.41°)
OKLaboklab(22.55% -0.0214 -0.0399)
OKLCHoklch(22.55% 0.045 241.8)
XYZxyz(1.0398, 1.1659, 2.8590)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051E2F #2F1605
analogous
#052F2B #051E2F #05092F
triadic
#051E2F #2F051E #1E2F05
tetradic
#051E2F #2B052F #2F1605 #092F05
square
#051E2F #2B052F #2F1605 #092F05
split-complementary
#051E2F #2F0509 #2F2B05
monochromatic
#03121C #03121C #051E2F #0B4166 #11659E

Accessibility & contrast

On white

17.03
#051E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#051E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051E2F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051E2F#FFFFFF#000000##FFFFFF
##051E2F1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#101A2F
Tritanopia (blue-blind)
#002224
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #051e2f;
/* rgb */ color: rgb(5, 30, 47);
/* oklch */ color: oklch(22.5% 0.045 241.8);
Tailwind
colors: {
  custom: {
    50: '#4b5967',
    500: '#051e2f',
    950: '#000000',
  },
}
SCSS
$custom: #051e2f;
$custom-light: #4b5967;
$custom-dark: #000000;
JSON
{
  "hex": "#051e2f",
  "rgb": {
    "r": 5,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 204.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22548,
    "c": 0.04526,
    "h": 241.8
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#051E2F
secondary
#71401F
accent
#8131F7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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