#0D313C#0D313C

#0D313C is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.045 H 221.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#0D313C
RGBrgb(13, 49, 60)
HSLhsl(194, 64%, 14%)
HSVhsv(194, 78%, 24%)
CMYKcmyk(78.3%, 18.3%, 0%, 76.5%)
CIE-LABlab(18.40, -8.43, -10.69)
CIE-LCHlch(18.40, 13.61, 231.72°)
OKLaboklab(29.31% -0.0333 -0.0298)
OKLCHoklch(29.31% 0.045 221.8)
XYZxyz(2.0796, 2.6082, 4.6679)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D313C #3C180D
analogous
#0D3C30 #0D313C #0D1A3C
triadic
#0D313C #3C0D31 #313C0D
tetradic
#0D313C #300D3C #3C180D #1A3C0D
square
#0D313C #300D3C #3C180D #1A3C0D
split-complementary
#0D313C #3C0D1A #3C300D
monochromatic
#051519 #051519 #0D313C #185A6E #2383A1

Accessibility & contrast

On white

13.80
#0D313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0D313C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D313C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D313C#FFFFFF#000000##FFFFFF
##0D313C1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B303D
Deuteranopia (green-blind)
#242B3C
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d313c;
/* rgb */ color: rgb(13, 49, 60);
/* oklch */ color: oklch(29.3% 0.045 221.8);
Tailwind
colors: {
  custom: {
    50: '#536971',
    500: '#0d313c',
    950: '#000000',
  },
}
SCSS
$custom: #0d313c;
$custom-light: #536971;
$custom-dark: #000000;
JSON
{
  "hex": "#0d313c",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 194.043,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.29314,
    "c": 0.04472,
    "h": 221.8
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#0D313C
secondary
#783F2D
accent
#6740E7
background
#F4F6F6
surface
#E8EBEC
border
#C4C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #0D313C

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

Preview Lab → · Contrast checker → · Palette generator →

#0D313C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva