#0C344F#0C344F

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

Color values

HEX#0C344F
RGBrgb(12, 52, 79)
HSLhsl(204, 74%, 18%)
HSVhsv(204, 85%, 31%)
CMYKcmyk(84.8%, 34.2%, 0%, 69%)
CIE-LABlab(20.43, -2.80, -20.41)
CIE-LCHlch(20.43, 20.60, 262.20°)
OKLaboklab(31.25% -0.0296 -0.0579)
OKLCHoklch(31.25% 0.065 242.9)
XYZxyz(2.7903, 3.0983, 7.8466)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C344F #4F270C
analogous
#0C4F48 #0C344F #0C134F
triadic
#0C344F #4F0C34 #344F0C
tetradic
#0C344F #480C4F #4F270C #134F0C
square
#0C344F #480C4F #4F270C #134F0C
split-complementary
#0C344F #4F0C13 #4F480C
monochromatic
#04111B #04111B #0C344F #145784 #1C7AB9

Accessibility & contrast

On white

12.96
#0C344F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C344F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C344F#FFFFFF#000000##FFFFFF
##0C344F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273550
Deuteranopia (green-blind)
#1E2E4F
Tritanopia (blue-blind)
#003B3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c344f;
/* rgb */ color: rgb(12, 52, 79);
/* oklch */ color: oklch(31.2% 0.065 242.9);
Tailwind
colors: {
  custom: {
    50: '#576b80',
    500: '#0c344f',
    950: '#000000',
  },
}
SCSS
$custom: #0c344f;
$custom-light: #576b80;
$custom-dark: #000000;
JSON
{
  "hex": "#0c344f",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 79
  },
  "hsl": {
    "h": 204.179,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.31248,
    "c": 0.06498,
    "h": 242.9
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#0C344F
secondary
#8B522C
accent
#8238F0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0C344F

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

Preview Lab → · Contrast checker → · Palette generator →

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