#0C3F42#0C3F42

#0C3F42 is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.7% C 0.051 H 200.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#0C3F42
RGBrgb(12, 63, 66)
HSLhsl(183, 69%, 15%)
HSVhsv(183, 82%, 26%)
CMYKcmyk(81.8%, 4.5%, 0%, 74.1%)
CIE-LABlab(23.76, -14.91, -6.60)
CIE-LCHlch(23.76, 16.31, 203.88°)
OKLaboklab(33.71% -0.0481 -0.0183)
OKLCHoklch(33.71% 0.051 200.9)
XYZxyz(2.9121, 4.0262, 5.7769)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F42 #420F0C
analogous
#0C422A #0C3F42 #0C2442
triadic
#0C3F42 #420C3F #3F420C
tetradic
#0C3F42 #2A0C42 #420F0C #24420C
square
#0C3F42 #2A0C42 #420F0C #24420C
split-complementary
#0C3F42 #420C24 #422A0C
monochromatic
#05191A #05191A #0C3F42 #157076 #1FA2AA

Accessibility & contrast

On white

11.63
#0C3F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0C3F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F42
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F42#FFFFFF#000000##FFFFFF
##0C3F421.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C42
Deuteranopia (green-blind)
#323642
Tritanopia (blue-blind)
#004240
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c3f42;
/* rgb */ color: rgb(12, 63, 66);
/* oklch */ color: oklch(33.7% 0.051 200.9);
Tailwind
colors: {
  custom: {
    50: '#557476',
    500: '#0c3f42',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f42;
$custom-light: #557476;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f42",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 66
  },
  "hsl": {
    "h": 183.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.05145,
    "h": 200.9
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#0C3F42
secondary
#7E302C
accent
#463CEC
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C3F42

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

Preview Lab → · Contrast checker → · Palette generator →

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