#0D334B#0D334B

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

Color values

HEX#0D334B
RGBrgb(13, 51, 75)
HSLhsl(203, 70%, 17%)
HSVhsv(203, 83%, 29%)
CMYKcmyk(82.7%, 32%, 0%, 70.6%)
CIE-LABlab(19.89, -3.66, -18.58)
CIE-LCHlch(19.89, 18.94, 258.87°)
OKLaboklab(30.75% -0.0293 -0.0525)
OKLCHoklch(30.75% 0.06 240.8)
XYZxyz(2.6193, 2.9609, 7.0887)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D334B #4B250D
analogous
#0D4B44 #0D334B #0D144B
triadic
#0D334B #4B0D33 #334B0D
tetradic
#0D334B #440D4B #4B250D #144B0D
square
#0D334B #440D4B #4B250D #144B0D
split-complementary
#0D334B #4B0D14 #4B440D
monochromatic
#05121A #05121A #0D334B #16567F #1F7AB3

Accessibility & contrast

On white

13.19
#0D334B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0D334B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D334B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D334B#FFFFFF#000000##FFFFFF
##0D334B1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28334C
Deuteranopia (green-blind)
#1F2D4B
Tritanopia (blue-blind)
#00393B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d334b;
/* rgb */ color: rgb(13, 51, 75);
/* oklch */ color: oklch(30.8% 0.060 240.8);
Tailwind
colors: {
  custom: {
    50: '#566a7d',
    500: '#0d334b',
    950: '#000000',
  },
}
SCSS
$custom: #0d334b;
$custom-light: #566a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d334b",
  "rgb": {
    "r": 13,
    "g": 51,
    "b": 75
  },
  "hsl": {
    "h": 203.226,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3075,
    "c": 0.06019,
    "h": 240.8
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#0D334B
secondary
#86502E
accent
#803BED
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0D334B

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

Preview Lab → · Contrast checker → · Palette generator →

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