#0C2C40#0C2C40

#0C2C40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.052 H 240.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#0C2C40
RGBrgb(12, 44, 64)
HSLhsl(203, 68%, 15%)
HSVhsv(203, 81%, 25%)
CMYKcmyk(81.2%, 31.2%, 0%, 74.9%)
CIE-LABlab(16.75, -3.63, -16.01)
CIE-LCHlch(16.75, 16.41, 257.23°)
OKLaboklab(28.05% -0.0261 -0.0452)
OKLCHoklch(28.05% 0.052 240)
XYZxyz(1.9774, 2.2495, 5.1795)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C40 #40200C
analogous
#0C403A #0C2C40 #0C1240
triadic
#0C2C40 #400C2C #2C400C
tetradic
#0C2C40 #3A0C40 #40200C #12400C
square
#0C2C40 #3A0C40 #40200C #12400C
split-complementary
#0C2C40 #400C12 #403A0C
monochromatic
#05121A #05121A #0C2C40 #164F74 #1F73A7

Accessibility & contrast

On white

14.48
#0C2C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C40
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C40#FFFFFF#000000##FFFFFF
##0C2C401.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#1C2740
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2c40;
/* rgb */ color: rgb(12, 44, 64);
/* oklch */ color: oklch(28.1% 0.052 240.0);
Tailwind
colors: {
  custom: {
    50: '#536475',
    500: '#0c2c40',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c40;
$custom-light: #536475;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c40",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 203.077,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28051,
    "c": 0.05217,
    "h": 240
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#0C2C40
secondary
#7C4B2C
accent
#803DEB
background
#F4F6F7
surface
#E8EBED
border
#C4C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2C40

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

Preview Lab → · Contrast checker → · Palette generator →

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