#0C3239#0C3239

#0C3239 is a dark, muted teal. Relative luminance 0.027; OKLCH L 29.4% C 0.043 H 212.2°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#0C3239
RGBrgb(12, 50, 57)
HSLhsl(189, 65%, 14%)
HSVhsv(189, 79%, 22%)
CMYKcmyk(78.9%, 12.3%, 0%, 77.6%)
CIE-LABlab(18.60, -10.42, -8.32)
CIE-LCHlch(18.60, 13.33, 218.60°)
OKLaboklab(29.42% -0.0367 -0.0231)
OKLCHoklch(29.42% 0.043 212.2)
XYZxyz(2.0304, 2.6545, 4.2755)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3239 #39130C
analogous
#0C3929 #0C3239 #0C1B39
triadic
#0C3239 #390C32 #32390C
tetradic
#0C3239 #290C39 #39130C #1B390C
square
#0C3239 #290C39 #39130C #1B390C
split-complementary
#0C3239 #390C1B #39290C
monochromatic
#051619 #051619 #0C3239 #175E6C #218B9E

Accessibility & contrast

On white

13.72
#0C3239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0C3239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3239
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3239#FFFFFF#000000##FFFFFF
##0C32391.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3039
Deuteranopia (green-blind)
#262B39
Tritanopia (blue-blind)
#003534
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c3239;
/* rgb */ color: rgb(12, 50, 57);
/* oklch */ color: oklch(29.4% 0.043 212.2);
Tailwind
colors: {
  custom: {
    50: '#526a6f',
    500: '#0c3239',
    950: '#000000',
  },
}
SCSS
$custom: #0c3239;
$custom-light: #526a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3239",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 189.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29422,
    "c": 0.04336,
    "h": 212.2
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#0C3239
secondary
#75372C
accent
#5A40E8
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C3239

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

Preview Lab → · Contrast checker → · Palette generator →

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