#0D313F#0D313F

#0D313F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.047 H 227.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#0D313F
RGBrgb(13, 49, 63)
HSLhsl(197, 66%, 15%)
HSVhsv(197, 79%, 25%)
CMYKcmyk(79.4%, 22.2%, 0%, 75.3%)
CIE-LABlab(18.54, -7.25, -12.52)
CIE-LCHlch(18.54, 14.47, 239.95°)
OKLaboklab(29.48% -0.0319 -0.0351)
OKLCHoklch(29.48% 0.047 227.7)
XYZxyz(2.1611, 2.6408, 5.0975)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D313F #3F1B0D
analogous
#0D3F34 #0D313F #0D183F
triadic
#0D313F #3F0D31 #313F0D
tetradic
#0D313F #340D3F #3F1B0D #183F0D
square
#0D313F #340D3F #3F1B0D #183F0D
split-complementary
#0D313F #3F0D18 #3F340D
monochromatic
#051419 #051419 #0D313F #175872 #2280A4

Accessibility & contrast

On white

13.74
#0D313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0D313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D313F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D313F#FFFFFF#000000##FFFFFF
##0D313F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3040
Deuteranopia (green-blind)
#232B3F
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d313f;
/* rgb */ color: rgb(13, 49, 63);
/* oklch */ color: oklch(29.5% 0.047 227.7);
Tailwind
colors: {
  custom: {
    50: '#546974',
    500: '#0d313f',
    950: '#000000',
  },
}
SCSS
$custom: #0d313f;
$custom-light: #546974;
$custom-dark: #000000;
JSON
{
  "hex": "#0d313f",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 196.8,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.29475,
    "c": 0.04744,
    "h": 227.7
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#0D313F
secondary
#7B432D
accent
#6F3FE9
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0D313F

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

Preview Lab → · Contrast checker → · Palette generator →

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