#0D3152#0D3152

#0D3152 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.072 H 249.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#0D3152
RGBrgb(13, 49, 82)
HSLhsl(209, 73%, 19%)
HSVhsv(209, 84%, 32%)
CMYKcmyk(84.1%, 40.2%, 0%, 67.8%)
CIE-LABlab(19.60, 0.72, -23.73)
CIE-LCHlch(19.60, 23.74, 271.73°)
OKLaboklab(30.66% -0.0248 -0.0676)
OKLCHoklch(30.66% 0.072 249.9)
XYZxyz(2.7867, 2.8911, 8.3922)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3152 #522E0D
analogous
#0D5250 #0D3152 #0D0E52
triadic
#0D3152 #520D31 #31520D
tetradic
#0D3152 #500D52 #522E0D #0E520D
square
#0D3152 #500D52 #522E0D #0E520D
split-complementary
#0D3152 #520D0E #52500D
monochromatic
#04101A #05111D #0D3152 #155187 #1E70BC

Accessibility & contrast

On white

13.31
#0D3152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0D3152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3152
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3152#FFFFFF#000000##FFFFFF
##0D31521.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223353
Deuteranopia (green-blind)
#172D51
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d3152;
/* rgb */ color: rgb(13, 49, 82);
/* oklch */ color: oklch(30.7% 0.072 249.9);
Tailwind
colors: {
  custom: {
    50: '#586883',
    500: '#0d3152',
    950: '#000000',
  },
}
SCSS
$custom: #0d3152;
$custom-light: #586883;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3152",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 208.696,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3066,
    "c": 0.072,
    "h": 249.9
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#0D3152
secondary
#8D5B2E
accent
#9038EF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0D3152

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

Preview Lab → · Contrast checker → · Palette generator →

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