#05313A#05313A

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

Color values

HEX#05313A
RGBrgb(5, 49, 58)
HSLhsl(190, 84%, 12%)
HSVhsv(190, 91%, 23%)
CMYKcmyk(91.4%, 15.5%, 0%, 77.3%)
CIE-LABlab(18.07, -10.59, -9.83)
CIE-LCHlch(18.07, 14.45, 222.89°)
OKLaboklab(28.95% -0.039 -0.0275)
OKLCHoklch(28.95% 0.048 215.2)
XYZxyz(1.9243, 2.5341, 4.3899)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05313A #3A0E05
analogous
#053A29 #05313A #05163A
triadic
#05313A #3A0531 #313A05
tetradic
#05313A #29053A #3A0E05 #163A05
square
#05313A #29053A #3A0E05 #163A05
split-complementary
#05313A #3A0516 #3A2905
monochromatic
#02181C #02181C #05313A #0A6172 #0F90AB

Accessibility & contrast

On white

13.94
#05313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05313A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05313A#FFFFFF#000000##FFFFFF
##05313A1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3B
Deuteranopia (green-blind)
#242A3A
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #05313a;
/* rgb */ color: rgb(5, 49, 58);
/* oklch */ color: oklch(29.0% 0.048 215.2);
Tailwind
colors: {
  custom: {
    50: '#506970',
    500: '#05313a',
    950: '#000000',
  },
}
SCSS
$custom: #05313a;
$custom-light: #506970;
$custom-dark: #000000;
JSON
{
  "hex": "#05313a",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 190.189,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28951,
    "c": 0.04771,
    "h": 215.2
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#05313A
secondary
#7B2F20
accent
#502DFA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #05313A

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

Preview Lab → · Contrast checker → · Palette generator →

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