#0D334E#0D334E

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

Color values

HEX#0D334E
RGBrgb(13, 51, 78)
HSLhsl(205, 71%, 18%)
HSVhsv(205, 83%, 31%)
CMYKcmyk(83.3%, 34.6%, 0%, 69.4%)
CIE-LABlab(20.06, -2.39, -20.33)
CIE-LCHlch(20.06, 20.47, 263.29°)
OKLaboklab(30.94% -0.0282 -0.0576)
OKLCHoklch(30.94% 0.064 243.9)
XYZxyz(2.7244, 3.0030, 7.6423)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D334E #4E280D
analogous
#0D4E48 #0D334E #0D124E
triadic
#0D334E #4E0D33 #334E0D
tetradic
#0D334E #480D4E #4E280D #124E0D
square
#0D334E #480D4E #4E280D #124E0D
split-complementary
#0D334E #4E0D12 #4E480D
monochromatic
#04111A #04111A #0D334E #165582 #1E78B7

Accessibility & contrast

On white

13.12
#0D334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D334E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D334E#FFFFFF#000000##FFFFFF
##0D334E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344F
Deuteranopia (green-blind)
#1D2E4D
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d334e;
/* rgb */ color: rgb(13, 51, 78);
/* oklch */ color: oklch(30.9% 0.064 243.9);
Tailwind
colors: {
  custom: {
    50: '#576a7f',
    500: '#0d334e',
    950: '#000000',
  },
}
SCSS
$custom: #0d334e;
$custom-light: #576a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d334e",
  "rgb": {
    "r": 13,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 204.923,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30939,
    "c": 0.0642,
    "h": 243.9
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#0D334E
secondary
#89542E
accent
#853AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0D334E

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

Preview Lab → · Contrast checker → · Palette generator →

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