#0C2F38#0C2F38

#0C2F38 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.5% C 0.042 H 218.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0C2F38
RGBrgb(12, 47, 56)
HSLhsl(192, 65%, 13%)
HSVhsv(192, 79%, 22%)
CMYKcmyk(78.6%, 16.1%, 0%, 78%)
CIE-LABlab(17.44, -8.90, -9.40)
CIE-LCHlch(17.44, 12.94, 226.56°)
OKLaboklab(28.48% -0.0334 -0.0262)
OKLCHoklch(28.48% 0.042 218.1)
XYZxyz(1.8816, 2.3965, 4.1040)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F38 #38150C
analogous
#0C382B #0C2F38 #0C1938
triadic
#0C2F38 #380C2F #2F380C
tetradic
#0C2F38 #2B0C38 #38150C #19380C
square
#0C2F38 #2B0C38 #38150C #19380C
split-complementary
#0C2F38 #380C19 #382B0C
monochromatic
#051519 #051519 #0C2F38 #17596A #22849D

Accessibility & contrast

On white

14.19
#0C2F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F38
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F38#FFFFFF#000000##FFFFFF
##0C2F381.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D38
Deuteranopia (green-blind)
#232938
Tritanopia (blue-blind)
#003232
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2f38;
/* rgb */ color: rgb(12, 47, 56);
/* oklch */ color: oklch(28.5% 0.042 218.1);
Tailwind
colors: {
  custom: {
    50: '#52676e',
    500: '#0c2f38',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f38;
$custom-light: #52676e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f38",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 192.273,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28475,
    "c": 0.04241,
    "h": 218.1
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#0C2F38
secondary
#743B2C
accent
#6240E8
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2F38

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

Preview Lab → · Contrast checker → · Palette generator →

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