#0D334C#0D334C

#0D334C is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 30.8% C 0.061 H 241.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#0D334C
RGBrgb(13, 51, 76)
HSLhsl(204, 71%, 17%)
HSVhsv(204, 83%, 30%)
CMYKcmyk(82.9%, 32.9%, 0%, 70.2%)
CIE-LABlab(19.94, -3.24, -19.17)
CIE-LCHlch(19.94, 19.44, 260.41°)
OKLaboklab(30.81% -0.029 -0.0543)
OKLCHoklch(30.81% 0.062 241.9)
XYZxyz(2.6538, 2.9747, 7.2704)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D334C #4C260D
analogous
#0D4C46 #0D334C #0D134C
triadic
#0D334C #4C0D33 #334C0D
tetradic
#0D334C #460D4C #4C260D #134C0D
square
#0D334C #460D4C #4C260D #134C0D
split-complementary
#0D334C #4C0D13 #4C460D
monochromatic
#04121A #04121A #0D334C #165680 #1F79B5

Accessibility & contrast

On white

13.17
#0D334C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D334C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D334C#FFFFFF#000000##FFFFFF
##0D334C1.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27334D
Deuteranopia (green-blind)
#1F2E4C
Tritanopia (blue-blind)
#00393C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d334c;
/* rgb */ color: rgb(13, 51, 76);
/* oklch */ color: oklch(30.8% 0.061 241.9);
Tailwind
colors: {
  custom: {
    50: '#566a7e',
    500: '#0d334c',
    950: '#000000',
  },
}
SCSS
$custom: #0d334c;
$custom-light: #566a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d334c",
  "rgb": {
    "r": 13,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 203.81,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30812,
    "c": 0.0615,
    "h": 241.9
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#0D334C
secondary
#87512E
accent
#813AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0D334C

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

Preview Lab → · Contrast checker → · Palette generator →

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