#0C2F39#0C2F39

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

Color values

HEX#0C2F39
RGBrgb(12, 47, 57)
HSLhsl(193, 65%, 14%)
HSVhsv(193, 79%, 22%)
CMYKcmyk(78.9%, 17.5%, 0%, 77.6%)
CIE-LABlab(17.49, -8.50, -10.02)
CIE-LCHlch(17.49, 13.14, 229.68°)
OKLaboklab(28.53% -0.0329 -0.0279)
OKLCHoklch(28.53% 0.043 220.4)
XYZxyz(1.9064, 2.4064, 4.2341)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F39 #39160C
analogous
#0C392C #0C2F39 #0C1839
triadic
#0C2F39 #390C2F #2F390C
tetradic
#0C2F39 #2C0C39 #39160C #18390C
square
#0C2F39 #2C0C39 #39160C #18390C
split-complementary
#0C2F39 #390C18 #392C0C
monochromatic
#051519 #051519 #0C2F39 #17596C #21829E

Accessibility & contrast

On white

14.18
#0C2F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F39
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F39#FFFFFF#000000##FFFFFF
##0C2F391.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2f39;
/* rgb */ color: rgb(12, 47, 57);
/* oklch */ color: oklch(28.5% 0.043 220.4);
Tailwind
colors: {
  custom: {
    50: '#52676f',
    500: '#0c2f39',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f39;
$custom-light: #52676f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f39",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 57
  },
  "hsl": {
    "h": 193.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28527,
    "c": 0.04315,
    "h": 220.4
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#0C2F39
secondary
#753C2C
accent
#6540E8
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2F39

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

Preview Lab → · Contrast checker → · Palette generator →

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