#0D314A#0D314A

#0D314A is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.1% C 0.061 H 243.1°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#0D314A
RGBrgb(13, 49, 74)
HSLhsl(205, 70%, 17%)
HSVhsv(205, 82%, 29%)
CMYKcmyk(82.4%, 33.8%, 0%, 71%)
CIE-LABlab(19.12, -2.71, -19.11)
CIE-LCHlch(19.12, 19.30, 261.94°)
OKLaboklab(30.13% -0.0274 -0.0541)
OKLCHoklch(30.13% 0.061 243.1)
XYZxyz(2.4998, 2.7763, 6.8814)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D314A #4A260D
analogous
#0D4A45 #0D314A #0D134A
triadic
#0D314A #4A0D31 #314A0D
tetradic
#0D314A #450D4A #4A260D #134A0D
square
#0D314A #450D4A #4A260D #134A0D
split-complementary
#0D314A #4A0D13 #4A450D
monochromatic
#05111A #05111A #0D314A #16537E #1F76B2

Accessibility & contrast

On white

13.50
#0D314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D314A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D314A#FFFFFF#000000##FFFFFF
##0D314A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324B
Deuteranopia (green-blind)
#1D2C4A
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0d314a;
/* rgb */ color: rgb(13, 49, 74);
/* oklch */ color: oklch(30.1% 0.061 243.1);
Tailwind
colors: {
  custom: {
    50: '#56687c',
    500: '#0d314a',
    950: '#000000',
  },
}
SCSS
$custom: #0d314a;
$custom-light: #56687c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d314a",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 204.59,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.30128,
    "c": 0.06066,
    "h": 243.1
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#0D314A
secondary
#85512E
accent
#843BED
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0D314A

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

Preview Lab → · Contrast checker → · Palette generator →

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