#0D3460#0D3460

#0D3460 is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.5% C 0.089 H 254.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#0D3460
RGBrgb(13, 52, 96)
HSLhsl(212, 76%, 21%)
HSVhsv(212, 86%, 38%)
CMYKcmyk(86.5%, 45.8%, 0%, 62.4%)
CIE-LABlab(21.53, 4.67, -29.93)
CIE-LCHlch(21.53, 30.29, 278.86°)
OKLaboklab(32.46% -0.0239 -0.0857)
OKLCHoklch(32.46% 0.089 254.4)
XYZxyz(3.5045, 3.3856, 11.5329)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3460 #60390D
analogous
#0D5E60 #0D3460 #0F0D60
triadic
#0D3460 #600D34 #34600D
tetradic
#0D3460 #600D5E #60390D #0D600F
square
#0D3460 #600D5E #60390D #0D600F
split-complementary
#0D3460 #600F0D #5E600D
monochromatic
#040F1B #06172A #0D3460 #145196 #1C6ECC

Accessibility & contrast

On white

12.52
#0D3460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0D3460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3460
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3460#FFFFFF#000000##FFFFFF
##0D34601.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3862
Deuteranopia (green-blind)
#0E305F
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0d3460;
/* rgb */ color: rgb(13, 52, 96);
/* oklch */ color: oklch(32.5% 0.089 254.4);
Tailwind
colors: {
  custom: {
    50: '#5b6b8d',
    500: '#0d3460',
    950: '#000000',
  },
}
SCSS
$custom: #0d3460;
$custom-light: #5b6b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3460",
  "rgb": {
    "r": 13,
    "g": 52,
    "b": 96
  },
  "hsl": {
    "h": 211.807,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32459,
    "c": 0.08901,
    "h": 254.4
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#0D3460
secondary
#9A682F
accent
#9A35F3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0D3460

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

Preview Lab → · Contrast checker → · Palette generator →

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