#0C2941#0C2941

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

Color values

HEX#0C2941
RGBrgb(12, 41, 65)
HSLhsl(207, 69%, 15%)
HSVhsv(207, 82%, 25%)
CMYKcmyk(81.5%, 36.9%, 0%, 74.5%)
CIE-LABlab(15.72, -1.08, -18.30)
CIE-LCHlch(15.72, 18.34, 266.61°)
OKLaboklab(27.26% -0.0221 -0.0519)
OKLCHoklch(27.26% 0.056 246.9)
XYZxyz(1.8983, 2.0455, 5.2948)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2941 #41240C
analogous
#0C413E #0C2941 #0C0E41
triadic
#0C2941 #410C29 #29410C
tetradic
#0C2941 #3E0C41 #41240C #0E410C
square
#0C2941 #3E0C41 #41240C #0E410C
split-complementary
#0C2941 #410C0E #413E0C
monochromatic
#05101A #05101A #0C2941 #164A75 #1F6AA8

Accessibility & contrast

On white

14.90
#0C2941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2941
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2941#FFFFFF#000000##FFFFFF
##0C29411.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2941;
/* rgb */ color: rgb(12, 41, 65);
/* oklch */ color: oklch(27.3% 0.056 246.9);
Tailwind
colors: {
  custom: {
    50: '#536275',
    500: '#0c2941',
    950: '#000000',
  },
}
SCSS
$custom: #0c2941;
$custom-light: #536275;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2941",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 65
  },
  "hsl": {
    "h": 207.17,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27263,
    "c": 0.05642,
    "h": 246.9
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#0C2941
secondary
#7D512C
accent
#8C3CEC
background
#F5F5F7
surface
#E8EAED
border
#C4C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2941

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

Preview Lab → · Contrast checker → · Palette generator →

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