#0C3651#0C3651

#0C3651 is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 31.9% C 0.066 H 241.9°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#0C3651
RGBrgb(12, 54, 81)
HSLhsl(203, 74%, 18%)
HSVhsv(203, 85%, 32%)
CMYKcmyk(85.2%, 33.3%, 0%, 68.2%)
CIE-LABlab(21.25, -3.31, -20.47)
CIE-LCHlch(21.25, 20.74, 260.80°)
OKLaboklab(31.93% -0.031 -0.058)
OKLCHoklch(31.93% 0.066 241.9)
XYZxyz(2.9554, 3.3102, 8.2662)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3651 #51270C
analogous
#0C5149 #0C3651 #0C1351
triadic
#0C3651 #510C36 #36510C
tetradic
#0C3651 #490C51 #51270C #13510C
square
#0C3651 #490C51 #51270C #13510C
split-complementary
#0C3651 #510C13 #51490C
monochromatic
#04121B #04121C #0C3651 #145A86 #1C7DBC

Accessibility & contrast

On white

12.63
#0C3651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C3651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3651
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3651#FFFFFF#000000##FFFFFF
##0C36511.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293752
Deuteranopia (green-blind)
#203051
Tritanopia (blue-blind)
#003D40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3651;
/* rgb */ color: rgb(12, 54, 81);
/* oklch */ color: oklch(31.9% 0.066 241.9);
Tailwind
colors: {
  custom: {
    50: '#576c82',
    500: '#0c3651',
    950: '#000000',
  },
}
SCSS
$custom: #0c3651;
$custom-light: #576c82;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3651",
  "rgb": {
    "r": 12,
    "g": 54,
    "b": 81
  },
  "hsl": {
    "h": 203.478,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31928,
    "c": 0.06578,
    "h": 241.9
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#0C3651
secondary
#8C522C
accent
#8037F1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C3651

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

Preview Lab → · Contrast checker → · Palette generator →

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