#0C2A38#0C2A38

#0C2A38 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.044 H 231.9°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#0C2A38
RGBrgb(12, 42, 56)
HSLhsl(199, 65%, 13%)
HSVhsv(199, 79%, 22%)
CMYKcmyk(78.6%, 25%, 0%, 78%)
CIE-LABlab(15.59, -5.58, -12.25)
CIE-LCHlch(15.59, 13.46, 245.53°)
OKLaboklab(26.99% -0.027 -0.0343)
OKLCHoklch(26.99% 0.044 231.9)
XYZxyz(1.6931, 2.0194, 4.0412)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A38 #381A0C
analogous
#0C3830 #0C2A38 #0C1438
triadic
#0C2A38 #380C2A #2A380C
tetradic
#0C2A38 #300C38 #381A0C #14380C
square
#0C2A38 #300C38 #381A0C #14380C
split-complementary
#0C2A38 #380C14 #38300C
monochromatic
#051319 #051319 #0C2A38 #17506A #22769D

Accessibility & contrast

On white

14.96
#0C2A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A38
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A38#FFFFFF#000000##FFFFFF
##0C2A381.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232939
Deuteranopia (green-blind)
#1D2538
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2a38;
/* rgb */ color: rgb(12, 42, 56);
/* oklch */ color: oklch(27.0% 0.044 231.9);
Tailwind
colors: {
  custom: {
    50: '#51636e',
    500: '#0c2a38',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a38;
$custom-light: #51636e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a38",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 199.091,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26992,
    "c": 0.04367,
    "h": 231.9
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#0C2A38
secondary
#74432C
accent
#7540E8
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2A38

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

Preview Lab → · Contrast checker → · Palette generator →

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