#0D314B#0D314B

#0D314B is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.2% C 0.062 H 244.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#0D314B
RGBrgb(13, 49, 75)
HSLhsl(205, 70%, 17%)
HSVhsv(205, 83%, 29%)
CMYKcmyk(82.7%, 34.7%, 0%, 70.6%)
CIE-LABlab(19.18, -2.28, -19.69)
CIE-LCHlch(19.18, 19.82, 263.39°)
OKLaboklab(30.19% -0.0271 -0.0558)
OKLCHoklch(30.19% 0.062 244.1)
XYZxyz(2.5338, 2.7899, 7.0602)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D314B #4B270D
analogous
#0D4B46 #0D314B #0D124B
triadic
#0D314B #4B0D31 #314B0D
tetradic
#0D314B #460D4B #4B270D #124B0D
square
#0D314B #460D4B #4B270D #124B0D
split-complementary
#0D314B #4B0D12 #4B460D
monochromatic
#05111A #05111A #0D314B #16537F #1F75B3

Accessibility & contrast

On white

13.48
#0D314B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D314B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D314B#FFFFFF#000000##FFFFFF
##0D314B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324C
Deuteranopia (green-blind)
#1C2C4B
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d314b;
/* rgb */ color: rgb(13, 49, 75);
/* oklch */ color: oklch(30.2% 0.062 244.1);
Tailwind
colors: {
  custom: {
    50: '#56687d',
    500: '#0d314b',
    950: '#000000',
  },
}
SCSS
$custom: #0d314b;
$custom-light: #56687d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d314b",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 205.161,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.30192,
    "c": 0.06202,
    "h": 244.1
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#0D314B
secondary
#86532E
accent
#853BED
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0D314B

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

Preview Lab → · Contrast checker → · Palette generator →

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