#0D3852#0D3852

#0D3852 is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.6% C 0.065 H 240.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#0D3852
RGBrgb(13, 56, 82)
HSLhsl(203, 73%, 19%)
HSVhsv(203, 84%, 32%)
CMYKcmyk(84.1%, 31.7%, 0%, 67.8%)
CIE-LABlab(22.03, -4.11, -19.91)
CIE-LCHlch(22.03, 20.33, 258.33°)
OKLaboklab(32.57% -0.0323 -0.0563)
OKLCHoklch(32.57% 0.065 240.2)
XYZxyz(3.1025, 3.5227, 8.4974)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3852 #52270D
analogous
#0D5249 #0D3852 #0D1552
triadic
#0D3852 #520D38 #38520D
tetradic
#0D3852 #490D52 #52270D #15520D
square
#0D3852 #490D52 #52270D #15520D
split-complementary
#0D3852 #520D15 #52490D
monochromatic
#04121A #05141D #0D3852 #155C87 #1E80BC

Accessibility & contrast

On white

12.32
#0D3852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0D3852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3852
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3852#FFFFFF#000000##FFFFFF
##0D38521.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#223252
Tritanopia (blue-blind)
#003F41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0d3852;
/* rgb */ color: rgb(13, 56, 82);
/* oklch */ color: oklch(32.6% 0.065 240.2);
Tailwind
colors: {
  custom: {
    50: '#586e82',
    500: '#0d3852',
    950: '#000000',
  },
}
SCSS
$custom: #0d3852;
$custom-light: #586e82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3852",
  "rgb": {
    "r": 13,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 202.609,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.06492,
    "h": 240.2
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#0D3852
secondary
#8D522E
accent
#7D38EF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0D3852

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

Preview Lab → · Contrast checker → · Palette generator →

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