#051B37#051B37

#051B37 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.3% C 0.061 H 255.5°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#051B37
RGBrgb(5, 27, 55)
HSLhsl(214, 83%, 12%)
HSVhsv(214, 91%, 22%)
CMYKcmyk(90.9%, 50.9%, 0%, 78.4%)
CIE-LABlab(9.73, 3.66, -20.78)
CIE-LCHlch(9.73, 21.10, 279.99°)
OKLaboklab(22.28% -0.0154 -0.0595)
OKLCHoklch(22.28% 0.062 255.5)
XYZxyz(1.1439, 1.0918, 3.7641)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051B37 #372105
analogous
#053437 #051B37 #080537
triadic
#051B37 #37051B #1B3705
tetradic
#051B37 #370534 #372105 #053708
square
#051B37 #370534 #372105 #053708
split-complementary
#051B37 #370805 #343705
monochromatic
#030E1C #030E1C #051B37 #0A376F #0F52A7

Accessibility & contrast

On white

17.24
#051B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#051B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051B37
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051B37#FFFFFF#000000##FFFFFF
##051B371.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D38
Deuteranopia (green-blind)
#041936
Tritanopia (blue-blind)
#002226
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #051b37;
/* rgb */ color: rgb(5, 27, 55);
/* oklch */ color: oklch(22.3% 0.061 255.5);
Tailwind
colors: {
  custom: {
    50: '#4e566e',
    500: '#051b37',
    950: '#000000',
  },
}
SCSS
$custom: #051b37;
$custom-light: #4e566e;
$custom-dark: #000000;
JSON
{
  "hex": "#051b37",
  "rgb": {
    "r": 5,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 213.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22278,
    "c": 0.0615,
    "h": 255.5
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#051B37
secondary
#785120
accent
#A02EFA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #051B37

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

Preview Lab → · Contrast checker → · Palette generator →

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