#0D314C#0D314C

#0D314C is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.063 H 245.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#0D314C
RGBrgb(13, 49, 76)
HSLhsl(206, 71%, 17%)
HSVhsv(206, 83%, 30%)
CMYKcmyk(82.9%, 35.5%, 0%, 70.2%)
CIE-LABlab(19.24, -1.86, -20.27)
CIE-LCHlch(19.24, 20.36, 264.77°)
OKLaboklab(30.26% -0.0267 -0.0575)
OKLCHoklch(30.26% 0.063 245.1)
XYZxyz(2.5683, 2.8037, 7.2419)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D314C #4C280D
analogous
#0D4C47 #0D314C #0D124C
triadic
#0D314C #4C0D31 #314C0D
tetradic
#0D314C #470D4C #4C280D #124C0D
square
#0D314C #470D4C #4C280D #124C0D
split-complementary
#0D314C #4C0D12 #4C470D
monochromatic
#04111A #04111A #0D314C #165380 #1F74B5

Accessibility & contrast

On white

13.45
#0D314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0D314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D314C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D314C#FFFFFF#000000##FFFFFF
##0D314C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324D
Deuteranopia (green-blind)
#1C2C4B
Tritanopia (blue-blind)
#00383B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d314c;
/* rgb */ color: rgb(13, 49, 76);
/* oklch */ color: oklch(30.3% 0.063 245.1);
Tailwind
colors: {
  custom: {
    50: '#56687e',
    500: '#0d314c',
    950: '#000000',
  },
}
SCSS
$custom: #0d314c;
$custom-light: #56687e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d314c",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 205.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.06341,
    "h": 245.1
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#0D314C
secondary
#87542E
accent
#873AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0D314C

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

Preview Lab → · Contrast checker → · Palette generator →

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