#051B2E#051B2E

#051B2E is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.6% C 0.047 H 247.3°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#051B2E
RGBrgb(5, 27, 46)
HSLhsl(208, 80%, 10%)
HSVhsv(208, 89%, 18%)
CMYKcmyk(89.1%, 41.3%, 0%, 82%)
CIE-LABlab(9.10, -0.59, -15.26)
CIE-LCHlch(9.10, 15.27, 267.79°)
OKLaboklab(21.58% -0.0181 -0.0433)
OKLCHoklch(21.58% 0.047 247.3)
XYZxyz(0.9475, 1.0133, 2.7299)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051B2E #2E1805
analogous
#052E2D #051B2E #05062E
triadic
#051B2E #2E051B #1B2E05
tetradic
#051B2E #2D052E #2E1805 #062E05
square
#051B2E #2D052E #2E1805 #062E05
split-complementary
#051B2E #2E0506 #2E2D05
monochromatic
#03101C #03101C #051B2E #0B3B65 #115C9C

Accessibility & contrast

On white

17.46
#051B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051B2E
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051B2E#FFFFFF#000000##FFFFFF
##051B2E1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #051b2e;
/* rgb */ color: rgb(5, 27, 46);
/* oklch */ color: oklch(21.6% 0.047 247.3);
Tailwind
colors: {
  custom: {
    50: '#4b5666',
    500: '#051b2e',
    950: '#000000',
  },
}
SCSS
$custom: #051b2e;
$custom-light: #4b5666;
$custom-dark: #000000;
JSON
{
  "hex": "#051b2e",
  "rgb": {
    "r": 5,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 207.805,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21579,
    "c": 0.04698,
    "h": 247.3
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#051B2E
secondary
#70441F
accent
#8D31F7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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