#0C2942#0C2942

#0C2942 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.3% C 0.058 H 247.9°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#0C2942
RGBrgb(12, 41, 66)
HSLhsl(208, 69%, 15%)
HSVhsv(208, 82%, 26%)
CMYKcmyk(81.8%, 37.9%, 0%, 74.1%)
CIE-LABlab(15.78, -0.65, -18.90)
CIE-LCHlch(15.78, 18.91, 268.03°)
OKLaboklab(27.33% -0.0218 -0.0536)
OKLCHoklch(27.33% 0.058 247.9)
XYZxyz(1.9276, 2.0572, 5.4487)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2942 #42250C
analogous
#0C4240 #0C2942 #0C0E42
triadic
#0C2942 #420C29 #29420C
tetradic
#0C2942 #400C42 #42250C #0E420C
square
#0C2942 #400C42 #42250C #0E420C
split-complementary
#0C2942 #420C0E #42400C
monochromatic
#05101A #05101A #0C2942 #154976 #1F69AA

Accessibility & contrast

On white

14.88
#0C2942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2942
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2942#FFFFFF#000000##FFFFFF
##0C29421.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2942;
/* rgb */ color: rgb(12, 41, 66);
/* oklch */ color: oklch(27.3% 0.058 247.9);
Tailwind
colors: {
  custom: {
    50: '#536276',
    500: '#0c2942',
    950: '#000000',
  },
}
SCSS
$custom: #0c2942;
$custom-light: #536276;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2942",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 66
  },
  "hsl": {
    "h": 207.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2733,
    "c": 0.0579,
    "h": 247.9
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#0C2942
secondary
#7E522C
accent
#8D3CEC
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2942

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

Preview Lab → · Contrast checker → · Palette generator →

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