#05313B#05313B

#05313B is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.0% C 0.048 H 217.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#05313B
RGBrgb(5, 49, 59)
HSLhsl(191, 84%, 13%)
HSVhsv(191, 92%, 23%)
CMYKcmyk(91.5%, 16.9%, 0%, 76.9%)
CIE-LABlab(18.12, -10.18, -10.45)
CIE-LCHlch(18.12, 14.59, 225.75°)
OKLaboklab(29% -0.0385 -0.0292)
OKLCHoklch(29% 0.048 217.2)
XYZxyz(1.9500, 2.5444, 4.5252)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05313B #3B0F05
analogous
#053B2A #05313B #05163B
triadic
#05313B #3B0531 #313B05
tetradic
#05313B #2A053B #3B0F05 #163B05
square
#05313B #2A053B #3B0F05 #163B05
split-complementary
#05313B #3B0516 #3B2A05
monochromatic
#02171C #02171C #05313B #0A6073 #0F8FAC

Accessibility & contrast

On white

13.92
#05313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#05313B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05313B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05313B#FFFFFF#000000##FFFFFF
##05313B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3C
Deuteranopia (green-blind)
#232A3B
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #05313b;
/* rgb */ color: rgb(5, 49, 59);
/* oklch */ color: oklch(29.0% 0.048 217.2);
Tailwind
colors: {
  custom: {
    50: '#506971',
    500: '#05313b',
    950: '#000000',
  },
}
SCSS
$custom: #05313b;
$custom-light: #506971;
$custom-dark: #000000;
JSON
{
  "hex": "#05313b",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 191.111,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29003,
    "c": 0.04835,
    "h": 217.2
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#05313B
secondary
#7C3120
accent
#532DFB
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #05313B

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

Preview Lab → · Contrast checker → · Palette generator →

#05313B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva