#0D3160#0D3160

#0D3160 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.7% C 0.093 H 256.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#0D3160
RGBrgb(13, 49, 96)
HSLhsl(214, 76%, 21%)
HSVhsv(214, 86%, 38%)
CMYKcmyk(86.5%, 49%, 0%, 62.4%)
CIE-LABlab(20.54, 6.83, -31.51)
CIE-LCHlch(20.54, 32.24, 282.23°)
OKLaboklab(31.7% -0.0212 -0.0904)
OKLCHoklch(31.7% 0.093 256.8)
XYZxyz(3.3748, 3.1263, 11.4896)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3160 #603C0D
analogous
#0D5B60 #0D3160 #130D60
triadic
#0D3160 #600D31 #31600D
tetradic
#0D3160 #600D5B #603C0D #0D6013
square
#0D3160 #600D5B #603C0D #0D6013
split-complementary
#0D3160 #60130D #5B600D
monochromatic
#040E1B #06152A #0D3160 #144D96 #1C68CC

Accessibility & contrast

On white

12.92
#0D3160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0D3160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3160
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3160#FFFFFF#000000##FFFFFF
##0D31601.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183562
Deuteranopia (green-blind)
#042E5F
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0d3160;
/* rgb */ color: rgb(13, 49, 96);
/* oklch */ color: oklch(31.7% 0.093 256.8);
Tailwind
colors: {
  custom: {
    50: '#5b688d',
    500: '#0d3160',
    950: '#000000',
  },
}
SCSS
$custom: #0d3160;
$custom-light: #5b688d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3160",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 96
  },
  "hsl": {
    "h": 213.976,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31697,
    "c": 0.0929,
    "h": 256.8
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#0D3160
secondary
#9A6B2F
accent
#A035F3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0D3160

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

Preview Lab → · Contrast checker → · Palette generator →

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