#0C2744#0C2744

#0C2744 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.9% C 0.063 H 252.7°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#0C2744
RGBrgb(12, 39, 68)
HSLhsl(211, 70%, 16%)
HSVhsv(211, 82%, 27%)
CMYKcmyk(82.4%, 42.6%, 0%, 73.3%)
CIE-LABlab(15.20, 1.68, -21.20)
CIE-LCHlch(15.20, 21.27, 274.53°)
OKLaboklab(26.92% -0.0189 -0.0604)
OKLCHoklch(26.92% 0.063 252.7)
XYZxyz(1.9201, 1.9463, 5.7422)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2744 #44290C
analogous
#0C4344 #0C2744 #0D0C44
triadic
#0C2744 #440C27 #27440C
tetradic
#0C2744 #440C43 #44290C #0C440D
square
#0C2744 #440C43 #44290C #0C440D
split-complementary
#0C2744 #440D0C #43440C
monochromatic
#050F1A #050F1A #0C2744 #154578 #1E63AC

Accessibility & contrast

On white

15.11
#0C2744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2744
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2744#FFFFFF#000000##FFFFFF
##0C27441.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2945
Deuteranopia (green-blind)
#112443
Tritanopia (blue-blind)
#002E32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2744;
/* rgb */ color: rgb(12, 39, 68);
/* oklch */ color: oklch(26.9% 0.063 252.7);
Tailwind
colors: {
  custom: {
    50: '#546078',
    500: '#0c2744',
    950: '#000000',
  },
}
SCSS
$custom: #0c2744;
$custom-light: #546078;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2744",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 68
  },
  "hsl": {
    "h": 211.071,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26915,
    "c": 0.06329,
    "h": 252.7
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#0C2744
secondary
#80572C
accent
#973BED
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2744

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

Preview Lab → · Contrast checker → · Palette generator →

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