#0C2C3A#0C2C3A

#0C2C3A is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.045 H 230.4°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#0C2C3A
RGBrgb(12, 44, 58)
HSLhsl(198, 66%, 14%)
HSVhsv(198, 79%, 23%)
CMYKcmyk(79.3%, 24.1%, 0%, 77.3%)
CIE-LABlab(16.43, -6.12, -12.35)
CIE-LCHlch(16.43, 13.78, 243.64°)
OKLaboklab(27.69% -0.0286 -0.0346)
OKLCHoklch(27.69% 0.045 230.4)
XYZxyz(1.8157, 2.1848, 4.3282)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C3A #3A1A0C
analogous
#0C3A31 #0C2C3A #0C153A
triadic
#0C2C3A #3A0C2C #2C3A0C
tetradic
#0C2C3A #310C3A #3A1A0C #153A0C
square
#0C2C3A #310C3A #3A1A0C #153A0C
split-complementary
#0C2C3A #3A0C15 #3A310C
monochromatic
#051319 #051319 #0C2C3A #16526D #21799F

Accessibility & contrast

On white

14.61
#0C2C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C3A
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C3A#FFFFFF#000000##FFFFFF
##0C2C3A1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3B
Deuteranopia (green-blind)
#1F273A
Tritanopia (blue-blind)
#003031
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2c3a;
/* rgb */ color: rgb(12, 44, 58);
/* oklch */ color: oklch(27.7% 0.045 230.4);
Tailwind
colors: {
  custom: {
    50: '#526570',
    500: '#0c2c3a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c3a;
$custom-light: #526570;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c3a",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 58
  },
  "hsl": {
    "h": 198.261,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27695,
    "c": 0.0449,
    "h": 230.4
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#0C2C3A
secondary
#76422C
accent
#733FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #0C2C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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