#0C2844#0C2844

#0C2844 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.2% C 0.062 H 251.2°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#0C2844
RGBrgb(12, 40, 68)
HSLhsl(210, 70%, 16%)
HSVhsv(210, 82%, 27%)
CMYKcmyk(82.4%, 41.2%, 0%, 73.3%)
CIE-LABlab(15.55, 0.95, -20.64)
CIE-LCHlch(15.55, 20.67, 272.62°)
OKLaboklab(27.19% -0.02 -0.0587)
OKLCHoklch(27.19% 0.062 251.2)
XYZxyz(1.9534, 2.0129, 5.7533)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2844 #44280C
analogous
#0C4444 #0C2844 #0C0C44
triadic
#0C2844 #440C28 #28440C
tetradic
#0C2844 #440C44 #44280C #0C440C
square
#0C2844 #440C44 #44280C #0C440C
split-complementary
#0C2844 #440C0C #44440C
monochromatic
#050F1A #050F1A #0C2844 #154778 #1E65AC

Accessibility & contrast

On white

14.97
#0C2844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2844
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2844#FFFFFF#000000##FFFFFF
##0C28441.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A45
Deuteranopia (green-blind)
#132443
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2844;
/* rgb */ color: rgb(12, 40, 68);
/* oklch */ color: oklch(27.2% 0.062 251.2);
Tailwind
colors: {
  custom: {
    50: '#546178',
    500: '#0c2844',
    950: '#000000',
  },
}
SCSS
$custom: #0c2844;
$custom-light: #546178;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2844",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 68
  },
  "hsl": {
    "h": 210,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2719,
    "c": 0.06206,
    "h": 251.2
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#0C2844
secondary
#80562C
accent
#943BED
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2844

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

Preview Lab → · Contrast checker → · Palette generator →

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