#0C4053#0C4053

#0C4053 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 34.8% C 0.061 H 227.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#0C4053
RGBrgb(12, 64, 83)
HSLhsl(196, 75%, 19%)
HSVhsv(196, 86%, 33%)
CMYKcmyk(85.5%, 22.9%, 0%, 67.5%)
CIE-LABlab(24.86, -9.04, -16.16)
CIE-LCHlch(24.86, 18.51, 240.78°)
OKLaboklab(34.84% -0.0412 -0.0454)
OKLCHoklch(34.84% 0.061 227.8)
XYZxyz(3.5457, 4.3691, 8.8384)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4053 #531F0C
analogous
#0C5342 #0C4053 #0C1C53
triadic
#0C4053 #530C40 #40530C
tetradic
#0C4053 #420C53 #531F0C #1C530C
square
#0C4053 #420C53 #531F0C #1C530C
split-complementary
#0C4053 #530C1C #53420C
monochromatic
#04151B #04171E #0C4053 #146988 #1B92BE

Accessibility & contrast

On white

11.21
#0C4053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0C4053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4053
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4053#FFFFFF#000000##FFFFFF
##0C40531.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F54
Deuteranopia (green-blind)
#2D3853
Tritanopia (blue-blind)
#004546
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4053;
/* rgb */ color: rgb(12, 64, 83);
/* oklch */ color: oklch(34.8% 0.061 227.8);
Tailwind
colors: {
  custom: {
    50: '#587483',
    500: '#0c4053',
    950: '#000000',
  },
}
SCSS
$custom: #0c4053;
$custom-light: #587483;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4053",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 83
  },
  "hsl": {
    "h": 196.056,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.34836,
    "c": 0.06129,
    "h": 227.8
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#0C4053
secondary
#8E472D
accent
#6836F1
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0C4053

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

Preview Lab → · Contrast checker → · Palette generator →

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