#0C3451#0C3451

#0C3451 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.068 H 244.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#0C3451
RGBrgb(12, 52, 81)
HSLhsl(205, 74%, 18%)
HSVhsv(205, 85%, 32%)
CMYKcmyk(85.2%, 35.8%, 0%, 68.2%)
CIE-LABlab(20.55, -1.95, -21.57)
CIE-LCHlch(20.55, 21.65, 264.85°)
OKLaboklab(31.38% -0.0289 -0.0612)
OKLCHoklch(31.38% 0.068 244.8)
XYZxyz(2.8642, 3.1279, 8.2358)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3451 #51290C
analogous
#0C514B #0C3451 #0C1151
triadic
#0C3451 #510C34 #34510C
tetradic
#0C3451 #4B0C51 #51290C #11510C
square
#0C3451 #4B0C51 #51290C #11510C
split-complementary
#0C3451 #510C11 #514B0C
monochromatic
#04111B #04121C #0C3451 #145686 #1C78BC

Accessibility & contrast

On white

12.92
#0C3451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0C3451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3451
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3451#FFFFFF#000000##FFFFFF
##0C34511.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3451;
/* rgb */ color: rgb(12, 52, 81);
/* oklch */ color: oklch(31.4% 0.068 244.8);
Tailwind
colors: {
  custom: {
    50: '#576b82',
    500: '#0c3451',
    950: '#000000',
  },
}
SCSS
$custom: #0c3451;
$custom-light: #576b82;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3451",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 81
  },
  "hsl": {
    "h": 205.217,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31377,
    "c": 0.0677,
    "h": 244.8
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#0C3451
secondary
#8C552C
accent
#8537F1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0C3451

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

Preview Lab → · Contrast checker → · Palette generator →

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