#0C3540#0C3540

#0C3540 is a dark, muted cyan. Relative luminance 0.030; OKLCH L 30.7% C 0.048 H 219.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#0C3540
RGBrgb(12, 53, 64)
HSLhsl(193, 68%, 15%)
HSVhsv(193, 81%, 25%)
CMYKcmyk(81.2%, 17.2%, 0%, 74.9%)
CIE-LABlab(20.02, -9.61, -10.94)
CIE-LCHlch(20.02, 14.56, 228.71°)
OKLaboklab(30.67% -0.037 -0.0305)
OKLCHoklch(30.67% 0.048 219.5)
XYZxyz(2.3498, 2.9943, 5.3036)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3540 #40170C
analogous
#0C4031 #0C3540 #0C1B40
triadic
#0C3540 #400C35 #35400C
tetradic
#0C3540 #310C40 #40170C #1B400C
square
#0C3540 #310C40 #40170C #1B400C
split-complementary
#0C3540 #400C1B #40310C
monochromatic
#05151A #05151A #0C3540 #166074 #1F8AA7

Accessibility & contrast

On white

13.13
#0C3540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C3540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3540
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3540#FFFFFF#000000##FFFFFF
##0C35401.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#272E40
Tritanopia (blue-blind)
#003938
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c3540;
/* rgb */ color: rgb(12, 53, 64);
/* oklch */ color: oklch(30.7% 0.048 219.5);
Tailwind
colors: {
  custom: {
    50: '#546c74',
    500: '#0c3540',
    950: '#000000',
  },
}
SCSS
$custom: #0c3540;
$custom-light: #546c74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3540",
  "rgb": {
    "r": 12,
    "g": 53,
    "b": 64
  },
  "hsl": {
    "h": 192.692,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30665,
    "c": 0.04796,
    "h": 219.5
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#0C3540
secondary
#7C3D2C
accent
#613DEB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #0C3540

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

Preview Lab → · Contrast checker → · Palette generator →

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