#051A2F#051A2F

#051A2F is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.4% C 0.050 H 250.5°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#051A2F
RGBrgb(5, 26, 47)
HSLhsl(210, 81%, 10%)
HSVhsv(210, 89%, 18%)
CMYKcmyk(89.4%, 44.7%, 0%, 81.6%)
CIE-LABlab(8.79, 0.65, -16.48)
CIE-LCHlch(8.79, 16.49, 272.26°)
OKLaboklab(21.36% -0.0166 -0.0469)
OKLCHoklch(21.36% 0.05 250.5)
XYZxyz(0.9449, 0.9762, 2.8274)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051A2F #2F1A05
analogous
#052F2F #051A2F #05052F
triadic
#051A2F #2F051A #1A2F05
tetradic
#051A2F #2F052F #2F1A05 #052F05
square
#051A2F #2F052F #2F1A05 #052F05
split-complementary
#051A2F #2F0505 #2F2F05
monochromatic
#030F1C #030F1C #051A2F #0B3966 #11579E

Accessibility & contrast

On white

17.57
#051A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#051A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051A2F
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051A2F#FFFFFF#000000##FFFFFF
##051A2F1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B30
Deuteranopia (green-blind)
#0A172F
Tritanopia (blue-blind)
#001F22
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #051a2f;
/* rgb */ color: rgb(5, 26, 47);
/* oklch */ color: oklch(21.4% 0.050 250.5);
Tailwind
colors: {
  custom: {
    50: '#4b5667',
    500: '#051a2f',
    950: '#000000',
  },
}
SCSS
$custom: #051a2f;
$custom-light: #4b5667;
$custom-dark: #000000;
JSON
{
  "hex": "#051a2f",
  "rgb": {
    "r": 5,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 210,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21357,
    "c": 0.0498,
    "h": 250.5
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#051A2F
secondary
#71481F
accent
#9431F7
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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