#05313F#05313F

#05313F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.2% C 0.052 H 224.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#05313F
RGBrgb(5, 49, 63)
HSLhsl(194, 85%, 13%)
HSVhsv(194, 92%, 25%)
CMYKcmyk(92.1%, 22.2%, 0%, 75.3%)
CIE-LABlab(18.31, -8.53, -12.90)
CIE-LCHlch(18.31, 15.47, 236.52°)
OKLaboklab(29.22% -0.0366 -0.0362)
OKLCHoklch(29.22% 0.052 224.7)
XYZxyz(2.0577, 2.5875, 5.0926)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05313F #3F1305
analogous
#053F30 #05313F #05143F
triadic
#05313F #3F0531 #313F05
tetradic
#05313F #30053F #3F1305 #143F05
square
#05313F #30053F #3F1305 #143F05
split-complementary
#05313F #3F0514 #3F3005
monochromatic
#02161C #02161C #05313F #095D78 #0E89B0

Accessibility & contrast

On white

13.84
#05313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#05313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05313F
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05313F#FFFFFF#000000##FFFFFF
##05313F1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293040
Deuteranopia (green-blind)
#222A3F
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #05313f;
/* rgb */ color: rgb(5, 49, 63);
/* oklch */ color: oklch(29.2% 0.052 224.7);
Tailwind
colors: {
  custom: {
    50: '#516974',
    500: '#05313f',
    950: '#000000',
  },
}
SCSS
$custom: #05313f;
$custom-light: #516974;
$custom-dark: #000000;
JSON
{
  "hex": "#05313f",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 194.483,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.29221,
    "c": 0.05152,
    "h": 224.7
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#05313F
secondary
#803720
accent
#5E2CFC
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #05313F

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

Preview Lab → · Contrast checker → · Palette generator →

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