#0D325C#0D325C

#0D325C is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.6% C 0.086 H 254.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#0D325C
RGBrgb(13, 50, 92)
HSLhsl(212, 75%, 21%)
HSVhsv(212, 86%, 36%)
CMYKcmyk(85.9%, 45.7%, 0%, 63.9%)
CIE-LABlab(20.59, 4.35, -28.79)
CIE-LCHlch(20.59, 29.12, 278.60°)
OKLaboklab(31.65% -0.023 -0.0824)
OKLCHoklch(31.65% 0.086 254.4)
XYZxyz(3.2376, 3.1391, 10.5584)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D325C #5C370D
analogous
#0D595C #0D325C #100D5C
triadic
#0D325C #5C0D32 #325C0D
tetradic
#0D325C #5C0D59 #5C370D #0D5C10
square
#0D325C #5C0D59 #5C370D #0D5C10
split-complementary
#0D325C #5C100D #595C0D
monochromatic
#040F1B #051526 #0D325C #154F92 #1C6CC7

Accessibility & contrast

On white

12.90
#0D325C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D325C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D325C#FFFFFF#000000##FFFFFF
##0D325C1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355E
Deuteranopia (green-blind)
#0E2E5B
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0d325c;
/* rgb */ color: rgb(13, 50, 92);
/* oklch */ color: oklch(31.6% 0.086 254.4);
Tailwind
colors: {
  custom: {
    50: '#5a698a',
    500: '#0d325c',
    950: '#000000',
  },
}
SCSS
$custom: #0d325c;
$custom-light: #5a698a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d325c",
  "rgb": {
    "r": 13,
    "g": 50,
    "b": 92
  },
  "hsl": {
    "h": 211.899,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31645,
    "c": 0.0856,
    "h": 254.4
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#0D325C
secondary
#96662F
accent
#9A36F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0D325C

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

Preview Lab → · Contrast checker → · Palette generator →

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