#051830#051830

#051830 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.9% C 0.054 H 255.0°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#051830
RGBrgb(5, 24, 48)
HSLhsl(213, 81%, 10%)
HSVhsv(213, 90%, 19%)
CMYKcmyk(89.6%, 50%, 0%, 81.2%)
CIE-LABlab(8.12, 2.70, -18.29)
CIE-LCHlch(8.12, 18.48, 278.39°)
OKLaboklab(20.86% -0.014 -0.0523)
OKLCHoklch(20.86% 0.054 255)
XYZxyz(0.9225, 0.8988, 2.9206)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051830 #301D05
analogous
#052D30 #051830 #070530
triadic
#051830 #300518 #183005
tetradic
#051830 #30052D #301D05 #053007
square
#051830 #30052D #301D05 #053007
split-complementary
#051830 #300705 #2D3005
monochromatic
#030E1C #030E1C #051830 #0B3467 #114F9F

Accessibility & contrast

On white

17.80
#051830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#051830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051830
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051830#FFFFFF#000000##FFFFFF
##0518301.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A31
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#001E21
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #051830;
/* rgb */ color: rgb(5, 24, 48);
/* oklch */ color: oklch(20.9% 0.054 255.0);
Tailwind
colors: {
  custom: {
    50: '#4c5468',
    500: '#051830',
    950: '#000000',
  },
}
SCSS
$custom: #051830;
$custom-light: #4c5468;
$custom-dark: #000000;
JSON
{
  "hex": "#051830",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 213.488,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20855,
    "c": 0.05413,
    "h": 255
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#051830
secondary
#724D1F
accent
#9F30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051830

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

Preview Lab → · Contrast checker → · Palette generator →

#051830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva