#0C2341#0C2341

#0C2341 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.6% C 0.064 H 256.2°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#0C2341
RGBrgb(12, 35, 65)
HSLhsl(214, 69%, 15%)
HSVhsv(214, 82%, 25%)
CMYKcmyk(81.5%, 46.2%, 0%, 74.5%)
CIE-LABlab(13.60, 3.33, -21.67)
CIE-LCHlch(13.60, 21.92, 278.74°)
OKLaboklab(25.6% -0.0152 -0.0618)
OKLCHoklch(25.6% 0.064 256.2)
XYZxyz(1.7064, 1.6617, 5.2308)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2341 #412A0C
analogous
#0C3E41 #0C2341 #0F0C41
triadic
#0C2341 #410C23 #23410C
tetradic
#0C2341 #410C3E #412A0C #0C410F
square
#0C2341 #410C3E #412A0C #0C410F
split-complementary
#0C2341 #410F0C #3E410C
monochromatic
#050E1A #050E1A #0C2341 #163F75 #1F5BA8

Accessibility & contrast

On white

15.76
#0C2341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0C2341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2341
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2341#FFFFFF#000000##FFFFFF
##0C23411.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152542
Deuteranopia (green-blind)
#0C2140
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c2341;
/* rgb */ color: rgb(12, 35, 65);
/* oklch */ color: oklch(25.6% 0.064 256.2);
Tailwind
colors: {
  custom: {
    50: '#535d76',
    500: '#0c2341',
    950: '#000000',
  },
}
SCSS
$custom: #0c2341;
$custom-light: #535d76;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2341",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 65
  },
  "hsl": {
    "h": 213.962,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25601,
    "c": 0.0637,
    "h": 256.2
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#0C2341
secondary
#7D5A2C
accent
#9F3CEC
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0C2341

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

Preview Lab → · Contrast checker → · Palette generator →

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