#0D3952#0D3952

#0D3952 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 32.8% C 0.064 H 238.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#0D3952
RGBrgb(13, 57, 82)
HSLhsl(202, 73%, 19%)
HSVhsv(202, 84%, 32%)
CMYKcmyk(84.1%, 30.5%, 0%, 67.8%)
CIE-LABlab(22.38, -4.78, -19.36)
CIE-LCHlch(22.38, 19.94, 256.13°)
OKLaboklab(32.85% -0.0334 -0.0547)
OKLCHoklch(32.85% 0.064 238.6)
XYZxyz(3.1515, 3.6206, 8.5138)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3952 #52260D
analogous
#0D5248 #0D3952 #0D1652
triadic
#0D3952 #520D39 #39520D
tetradic
#0D3952 #480D52 #52260D #16520D
square
#0D3952 #480D52 #52260D #16520D
split-complementary
#0D3952 #520D16 #52480D
monochromatic
#04121A #05141D #0D3952 #155E87 #1E82BC

Accessibility & contrast

On white

12.18
#0D3952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0D3952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3952
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3952#FFFFFF#000000##FFFFFF
##0D39521.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#243352
Tritanopia (blue-blind)
#003F42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0d3952;
/* rgb */ color: rgb(13, 57, 82);
/* oklch */ color: oklch(32.8% 0.064 238.6);
Tailwind
colors: {
  custom: {
    50: '#586f82',
    500: '#0d3952',
    950: '#000000',
  },
}
SCSS
$custom: #0d3952;
$custom-light: #586f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3952",
  "rgb": {
    "r": 13,
    "g": 57,
    "b": 82
  },
  "hsl": {
    "h": 201.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.32849,
    "c": 0.06409,
    "h": 238.6
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#0D3952
secondary
#8D502E
accent
#7B38EF
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0D3952

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

Preview Lab → · Contrast checker → · Palette generator →

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