#0D334D#0D334D

#0D334D is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.063 H 242.9°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#0D334D
RGBrgb(13, 51, 77)
HSLhsl(204, 71%, 18%)
HSVhsv(204, 83%, 30%)
CMYKcmyk(83.1%, 33.8%, 0%, 69.8%)
CIE-LABlab(20.00, -2.82, -19.75)
CIE-LCHlch(20.00, 19.95, 261.89°)
OKLaboklab(30.88% -0.0286 -0.0559)
OKLCHoklch(30.88% 0.063 242.9)
XYZxyz(2.6888, 2.9887, 7.4549)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D334D #4D270D
analogous
#0D4D47 #0D334D #0D134D
triadic
#0D334D #4D0D33 #334D0D
tetradic
#0D334D #470D4D #4D270D #134D0D
square
#0D334D #470D4D #4D270D #134D0D
split-complementary
#0D334D #4D0D13 #4D470D
monochromatic
#04111A #04111A #0D334D #165681 #1F78B6

Accessibility & contrast

On white

13.14
#0D334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0D334D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D334D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D334D#FFFFFF#000000##FFFFFF
##0D334D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344E
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#00393C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d334d;
/* rgb */ color: rgb(13, 51, 77);
/* oklch */ color: oklch(30.9% 0.063 242.9);
Tailwind
colors: {
  custom: {
    50: '#576a7f',
    500: '#0d334d',
    950: '#000000',
  },
}
SCSS
$custom: #0d334d;
$custom-light: #576a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d334d",
  "rgb": {
    "r": 13,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 204.375,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.06284,
    "h": 242.9
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#0D334D
secondary
#88522E
accent
#833AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0D334D

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

Preview Lab → · Contrast checker → · Palette generator →

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