#0C2C3D#0C2C3D

#0C2C3D is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.048 H 235.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#0C2C3D
RGBrgb(12, 44, 61)
HSLhsl(201, 67%, 14%)
HSVhsv(201, 80%, 24%)
CMYKcmyk(80.3%, 27.9%, 0%, 76.1%)
CIE-LABlab(16.58, -4.88, -14.19)
CIE-LCHlch(16.58, 15.00, 251.01°)
OKLaboklab(27.87% -0.0273 -0.0399)
OKLCHoklch(27.87% 0.048 235.6)
XYZxyz(1.8943, 2.2162, 4.7419)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C3D #3D1D0C
analogous
#0C3D36 #0C2C3D #0C143D
triadic
#0C2C3D #3D0C2C #2C3D0C
tetradic
#0C2C3D #360C3D #3D1D0C #143D0C
square
#0C2C3D #360C3D #3D1D0C #143D0C
split-complementary
#0C2C3D #3D0C14 #3D360C
monochromatic
#05121A #05121A #0C2C3D #165170 #2076A3

Accessibility & contrast

On white

14.55
#0C2C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C3D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C3D#FFFFFF#000000##FFFFFF
##0C2C3D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3E
Deuteranopia (green-blind)
#1D273D
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2c3d;
/* rgb */ color: rgb(12, 44, 61);
/* oklch */ color: oklch(27.9% 0.048 235.6);
Tailwind
colors: {
  custom: {
    50: '#526572',
    500: '#0c2c3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c3d;
$custom-light: #526572;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c3d",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 61
  },
  "hsl": {
    "h": 200.816,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27869,
    "c": 0.04836,
    "h": 235.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#0C2C3D
secondary
#79472C
accent
#7A3EEA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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