#0C2840#0C2840

#0C2840 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.056 H 247.6°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#0C2840
RGBrgb(12, 40, 64)
HSLhsl(208, 68%, 15%)
HSVhsv(208, 81%, 25%)
CMYKcmyk(81.2%, 37.5%, 0%, 74.9%)
CIE-LABlab(15.31, -0.80, -18.27)
CIE-LCHlch(15.31, 18.29, 267.51°)
OKLaboklab(26.91% -0.0213 -0.0518)
OKLCHoklch(26.91% 0.056 247.6)
XYZxyz(1.8355, 1.9657, 5.1322)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2840 #40240C
analogous
#0C403E #0C2840 #0C0E40
triadic
#0C2840 #400C28 #28400C
tetradic
#0C2840 #3E0C40 #40240C #0E400C
square
#0C2840 #3E0C40 #40240C #0E400C
split-complementary
#0C2840 #400C0E #403E0C
monochromatic
#05101A #05101A #0C2840 #164874 #1F68A7

Accessibility & contrast

On white

15.07
#0C2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2840
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2840#FFFFFF#000000##FFFFFF
##0C28401.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2840;
/* rgb */ color: rgb(12, 40, 64);
/* oklch */ color: oklch(26.9% 0.056 247.6);
Tailwind
colors: {
  custom: {
    50: '#536175',
    500: '#0c2840',
    950: '#000000',
  },
}
SCSS
$custom: #0c2840;
$custom-light: #536175;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2840",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 207.692,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26914,
    "c": 0.05603,
    "h": 247.6
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#0C2840
secondary
#7C512C
accent
#8D3DEB
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2840

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

Preview Lab → · Contrast checker → · Palette generator →

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