#051F38#051F38

#051F38 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.5% C 0.058 H 250.5°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#051F38
RGBrgb(5, 31, 56)
HSLhsl(209, 84%, 12%)
HSVhsv(209, 91%, 22%)
CMYKcmyk(91.1%, 44.6%, 0%, 78%)
CIE-LABlab(11.26, 1.03, -19.07)
CIE-LCHlch(11.26, 19.09, 273.10°)
OKLaboklab(23.49% -0.0193 -0.0544)
OKLCHoklch(23.49% 0.058 250.5)
XYZxyz(1.2661, 1.2976, 3.9243)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051F38 #381E05
analogous
#053838 #051F38 #050538
triadic
#051F38 #38051F #1F3805
tetradic
#051F38 #380538 #381E05 #053805
square
#051F38 #380538 #381E05 #053805
split-complementary
#051F38 #380505 #383805
monochromatic
#03101C #03101C #051F38 #0A3E70 #0F5DA8

Accessibility & contrast

On white

16.67
#051F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#051F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051F38
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051F38#FFFFFF#000000##FFFFFF
##051F381.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132139
Deuteranopia (green-blind)
#0B1C38
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #051f38;
/* rgb */ color: rgb(5, 31, 56);
/* oklch */ color: oklch(23.5% 0.058 250.5);
Tailwind
colors: {
  custom: {
    50: '#4e5a6f',
    500: '#051f38',
    950: '#000000',
  },
}
SCSS
$custom: #051f38;
$custom-light: #4e5a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#051f38",
  "rgb": {
    "r": 5,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 209.412,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2349,
    "c": 0.05773,
    "h": 250.5
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#051F38
secondary
#794C20
accent
#922EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #051F38

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

Preview Lab → · Contrast checker → · Palette generator →

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