#051B2D#051B2D

#051B2D is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.5% C 0.045 H 246.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#051B2D
RGBrgb(5, 27, 45)
HSLhsl(207, 80%, 10%)
HSVhsv(207, 89%, 18%)
CMYKcmyk(88.9%, 40%, 0%, 82.4%)
CIE-LABlab(9.04, -1.05, -14.63)
CIE-LCHlch(9.04, 14.66, 265.88°)
OKLaboklab(21.51% -0.0185 -0.0415)
OKLCHoklch(21.51% 0.045 246)
XYZxyz(0.9280, 1.0055, 2.6273)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051B2D #2D1705
analogous
#052D2B #051B2D #05072D
triadic
#051B2D #2D051B #1B2D05
tetradic
#051B2D #2B052D #2D1705 #072D05
square
#051B2D #2B052D #2D1705 #072D05
split-complementary
#051B2D #2D0507 #2D2B05
monochromatic
#03111C #03111C #051B2D #0B3C64 #115D9B

Accessibility & contrast

On white

17.48
#051B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051B2D
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051B2D#FFFFFF#000000##FFFFFF
##051B2D1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2E
Deuteranopia (green-blind)
#0D182D
Tritanopia (blue-blind)
#001F21
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #051b2d;
/* rgb */ color: rgb(5, 27, 45);
/* oklch */ color: oklch(21.5% 0.045 246.0);
Tailwind
colors: {
  custom: {
    50: '#4b5766',
    500: '#051b2d',
    950: '#000000',
  },
}
SCSS
$custom: #051b2d;
$custom-light: #4b5766;
$custom-dark: #000000;
JSON
{
  "hex": "#051b2d",
  "rgb": {
    "r": 5,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 207,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21507,
    "c": 0.04544,
    "h": 246
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#051B2D
secondary
#6F431F
accent
#8A31F6
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #051B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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