#0D313E#0D313E

#0D313E is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.046 H 225.8°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#0D313E
RGBrgb(13, 49, 62)
HSLhsl(196, 65%, 15%)
HSVhsv(196, 79%, 24%)
CMYKcmyk(79%, 21%, 0%, 75.7%)
CIE-LABlab(18.50, -7.65, -11.91)
CIE-LCHlch(18.50, 14.16, 237.30°)
OKLaboklab(29.42% -0.0324 -0.0333)
OKLCHoklch(29.42% 0.046 225.8)
XYZxyz(2.1334, 2.6298, 4.9516)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D313E #3E1A0D
analogous
#0D3E33 #0D313E #0D193E
triadic
#0D313E #3E0D31 #313E0D
tetradic
#0D313E #330D3E #3E1A0D #193E0D
square
#0D313E #330D3E #3E1A0D #193E0D
split-complementary
#0D313E #3E0D19 #3E330D
monochromatic
#051419 #051419 #0D313E #185971 #2281A3

Accessibility & contrast

On white

13.76
#0D313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D313E
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D313E#FFFFFF#000000##FFFFFF
##0D313E1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303F
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#003535
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d313e;
/* rgb */ color: rgb(13, 49, 62);
/* oklch */ color: oklch(29.4% 0.046 225.8);
Tailwind
colors: {
  custom: {
    50: '#536973',
    500: '#0d313e',
    950: '#000000',
  },
}
SCSS
$custom: #0d313e;
$custom-light: #536973;
$custom-dark: #000000;
JSON
{
  "hex": "#0d313e",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 195.918,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2942,
    "c": 0.04648,
    "h": 225.8
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#0D313E
secondary
#7A412D
accent
#6C40E8
background
#F5F6F6
surface
#E8EBEC
border
#C4C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #0D313E

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

Preview Lab → · Contrast checker → · Palette generator →

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