#0D3954#0D3954

#0D3954 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.0% C 0.067 H 240.7°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#0D3954
RGBrgb(13, 57, 84)
HSLhsl(203, 73%, 19%)
HSVhsv(203, 85%, 33%)
CMYKcmyk(84.5%, 32.1%, 0%, 67.1%)
CIE-LABlab(22.48, -3.95, -20.51)
CIE-LCHlch(22.48, 20.89, 259.11°)
OKLaboklab(32.97% -0.0326 -0.0581)
OKLCHoklch(32.97% 0.067 240.7)
XYZxyz(3.2287, 3.6515, 8.9204)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3954 #54280D
analogous
#0D544C #0D3954 #0D1654
triadic
#0D3954 #540D39 #39540D
tetradic
#0D3954 #4C0D54 #54280D #16540D
square
#0D3954 #4C0D54 #54280D #16540D
split-complementary
#0D3954 #540D16 #544C0D
monochromatic
#04121A #05151F #0D3954 #155D89 #1D81BE

Accessibility & contrast

On white

12.14
#0D3954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0D3954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3954
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3954#FFFFFF#000000##FFFFFF
##0D39541.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3955
Deuteranopia (green-blind)
#233354
Tritanopia (blue-blind)
#004042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0d3954;
/* rgb */ color: rgb(13, 57, 84);
/* oklch */ color: oklch(33.0% 0.067 240.7);
Tailwind
colors: {
  custom: {
    50: '#586f84',
    500: '#0d3954',
    950: '#000000',
  },
}
SCSS
$custom: #0d3954;
$custom-light: #586f84;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3954",
  "rgb": {
    "r": 13,
    "g": 57,
    "b": 84
  },
  "hsl": {
    "h": 202.817,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32971,
    "c": 0.06661,
    "h": 240.7
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#0D3954
secondary
#8F532E
accent
#7E38F0
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0D3954

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

Preview Lab → · Contrast checker → · Palette generator →

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