#0D344E#0D344E

#0D344E is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.2% C 0.063 H 242.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#0D344E
RGBrgb(13, 52, 78)
HSLhsl(204, 71%, 18%)
HSVhsv(204, 83%, 31%)
CMYKcmyk(83.3%, 33.3%, 0%, 69.4%)
CIE-LABlab(20.41, -3.08, -19.78)
CIE-LCHlch(20.41, 20.02, 261.15°)
OKLaboklab(31.22% -0.0293 -0.056)
OKLCHoklch(31.22% 0.063 242.4)
XYZxyz(2.7686, 3.0913, 7.6570)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D344E #4E270D
analogous
#0D4E47 #0D344E #0D134E
triadic
#0D344E #4E0D34 #344E0D
tetradic
#0D344E #470D4E #4E270D #134E0D
square
#0D344E #470D4E #4E270D #134E0D
split-complementary
#0D344E #4E0D13 #4E470D
monochromatic
#04111A #04111A #0D344E #165782 #1E7AB7

Accessibility & contrast

On white

12.98
#0D344E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0D344E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D344E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D344E#FFFFFF#000000##FFFFFF
##0D344E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#1F2E4E
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0d344e;
/* rgb */ color: rgb(13, 52, 78);
/* oklch */ color: oklch(31.2% 0.063 242.4);
Tailwind
colors: {
  custom: {
    50: '#576b7f',
    500: '#0d344e',
    950: '#000000',
  },
}
SCSS
$custom: #0d344e;
$custom-light: #576b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d344e",
  "rgb": {
    "r": 13,
    "g": 52,
    "b": 78
  },
  "hsl": {
    "h": 204,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.31216,
    "c": 0.06325,
    "h": 242.4
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#0D344E
secondary
#89522E
accent
#823AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0D344E

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

Preview Lab → · Contrast checker → · Palette generator →

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