#0C344A#0C344A

#0C344A is a dark, muted cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.059 H 237.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#0C344A
RGBrgb(12, 52, 74)
HSLhsl(201, 72%, 17%)
HSVhsv(201, 84%, 29%)
CMYKcmyk(83.8%, 29.7%, 0%, 71%)
CIE-LABlab(20.16, -4.90, -17.49)
CIE-LCHlch(20.16, 18.16, 254.35°)
OKLaboklab(30.94% -0.0314 -0.0494)
OKLCHoklch(30.94% 0.059 237.5)
XYZxyz(2.6152, 3.0282, 6.9239)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C344A #4A220C
analogous
#0C4A41 #0C344A #0C154A
triadic
#0C344A #4A0C34 #344A0C
tetradic
#0C344A #410C4A #4A220C #154A0C
square
#0C344A #410C4A #4A220C #154A0C
split-complementary
#0C344A #4A0C15 #4A410C
monochromatic
#04131A #04131A #0C344A #15597F #1D7EB3

Accessibility & contrast

On white

13.08
#0C344A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C344A
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C344A#FFFFFF#000000##FFFFFF
##0C344A1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A344B
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#003A3C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c344a;
/* rgb */ color: rgb(12, 52, 74);
/* oklch */ color: oklch(30.9% 0.059 237.5);
Tailwind
colors: {
  custom: {
    50: '#566b7c',
    500: '#0c344a',
    950: '#000000',
  },
}
SCSS
$custom: #0c344a;
$custom-light: #566b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c344a",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 74
  },
  "hsl": {
    "h": 201.29,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.30937,
    "c": 0.05854,
    "h": 237.5
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#0C344A
secondary
#864C2C
accent
#7A39EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C344A

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

Preview Lab → · Contrast checker → · Palette generator →

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