#0D3858#0D3858

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

Color values

HEX#0D3858
RGBrgb(13, 56, 88)
HSLhsl(206, 74%, 20%)
HSVhsv(206, 85%, 35%)
CMYKcmyk(85.2%, 36.4%, 0%, 65.5%)
CIE-LABlab(22.37, -1.59, -23.34)
CIE-LCHlch(22.37, 23.39, 266.11°)
OKLaboklab(32.95% -0.0301 -0.0663)
OKLCHoklch(32.95% 0.073 245.6)
XYZxyz(3.3409, 3.6181, 9.7529)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3858 #582D0D
analogous
#0D5853 #0D3858 #0D1358
triadic
#0D3858 #580D38 #38580D
tetradic
#0D3858 #530D58 #582D0D #13580D
square
#0D3858 #530D58 #582D0D #13580D
split-complementary
#0D3858 #580D13 #58530D
monochromatic
#04111B #051623 #0D3858 #155A8D #1D7CC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D3858#FFFFFF#000000##FFFFFF
##0D38581.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)
#293959
Deuteranopia (green-blind)
#1E3257
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0d3858;
/* rgb */ color: rgb(13, 56, 88);
/* oklch */ color: oklch(33.0% 0.073 245.6);
Tailwind
colors: {
  custom: {
    50: '#596e87',
    500: '#0d3858',
    950: '#000000',
  },
}
SCSS
$custom: #0d3858;
$custom-light: #596e87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3858",
  "rgb": {
    "r": 13,
    "g": 56,
    "b": 88
  },
  "hsl": {
    "h": 205.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.07286,
    "h": 245.6
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#0D3858
secondary
#93592E
accent
#8637F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0D3858

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

Preview Lab → · Contrast checker → · Palette generator →

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