#0D314D#0D314D

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

Color values

HEX#0D314D
RGBrgb(13, 49, 77)
HSLhsl(206, 71%, 18%)
HSVhsv(206, 83%, 30%)
CMYKcmyk(83.1%, 36.4%, 0%, 69.8%)
CIE-LABlab(19.30, -1.43, -20.86)
CIE-LCHlch(19.30, 20.90, 266.08°)
OKLaboklab(30.32% -0.0264 -0.0592)
OKLCHoklch(30.32% 0.065 246)
XYZxyz(2.6033, 2.8177, 7.4264)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D314D #4D290D
analogous
#0D4D49 #0D314D #0D114D
triadic
#0D314D #4D0D31 #314D0D
tetradic
#0D314D #490D4D #4D290D #114D0D
square
#0D314D #490D4D #4D290D #114D0D
split-complementary
#0D314D #4D0D11 #4D490D
monochromatic
#04111A #04111A #0D314D #165281 #1F74B6

Accessibility & contrast

On white

13.43
#0D314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D314D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D314D#FFFFFF#000000##FFFFFF
##0D314D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324E
Deuteranopia (green-blind)
#1B2C4C
Tritanopia (blue-blind)
#00383B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d314d;
/* rgb */ color: rgb(13, 49, 77);
/* oklch */ color: oklch(30.3% 0.065 246.0);
Tailwind
colors: {
  custom: {
    50: '#57687f',
    500: '#0d314d',
    950: '#000000',
  },
}
SCSS
$custom: #0d314d;
$custom-light: #57687f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d314d",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 206.25,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30322,
    "c": 0.06481,
    "h": 246
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#0D314D
secondary
#88552E
accent
#893AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0D314D

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

Preview Lab → · Contrast checker → · Palette generator →

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