#0C344D#0C344D

#0C344D is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.1% C 0.062 H 240.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#0C344D
RGBrgb(12, 52, 77)
HSLhsl(203, 73%, 17%)
HSVhsv(203, 84%, 30%)
CMYKcmyk(84.4%, 32.5%, 0%, 69.8%)
CIE-LABlab(20.32, -3.64, -19.25)
CIE-LCHlch(20.32, 19.59, 259.28°)
OKLaboklab(31.12% -0.0303 -0.0545)
OKLCHoklch(31.12% 0.062 240.9)
XYZxyz(2.7186, 3.0696, 7.4690)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C344D #4D250C
analogous
#0C4D46 #0C344D #0C134D
triadic
#0C344D #4D0C34 #344D0C
tetradic
#0C344D #460C4D #4D250C #134D0C
square
#0C344D #460C4D #4D250C #134D0C
split-complementary
#0C344D #4D0C13 #4D460C
monochromatic
#04121A #04121A #0C344D #145882 #1D7CB7

Accessibility & contrast

On white

13.01
#0C344D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0C344D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C344D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C344D#FFFFFF#000000##FFFFFF
##0C344D1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344E
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c344d;
/* rgb */ color: rgb(12, 52, 77);
/* oklch */ color: oklch(31.1% 0.062 240.9);
Tailwind
colors: {
  custom: {
    50: '#566b7f',
    500: '#0c344d',
    950: '#000000',
  },
}
SCSS
$custom: #0c344d;
$custom-light: #566b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c344d",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 77
  },
  "hsl": {
    "h": 203.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.31121,
    "c": 0.06234,
    "h": 240.9
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#0C344D
secondary
#89502C
accent
#7F38F0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0C344D

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

Preview Lab → · Contrast checker → · Palette generator →

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