#0C3A42#0C3A42

#0C3A42 is a dark, muted teal. Relative luminance 0.035; OKLCH L 32.2% C 0.049 H 211.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#0C3A42
RGBrgb(12, 58, 66)
HSLhsl(189, 69%, 15%)
HSVhsv(189, 82%, 26%)
CMYKcmyk(81.8%, 12.1%, 0%, 74.1%)
CIE-LABlab(21.93, -11.94, -9.36)
CIE-LCHlch(21.93, 15.18, 218.10°)
OKLaboklab(32.23% -0.0421 -0.0261)
OKLCHoklch(32.23% 0.049 211.8)
XYZxyz(2.6476, 3.4973, 5.6887)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A42 #42140C
analogous
#0C422F #0C3A42 #0C1F42
triadic
#0C3A42 #420C3A #3A420C
tetradic
#0C3A42 #2F0C42 #42140C #1F420C
square
#0C3A42 #2F0C42 #42140C #1F420C
split-complementary
#0C3A42 #420C1F #422F0C
monochromatic
#05171A #05171A #0C3A42 #156876 #1F95AA

Accessibility & contrast

On white

12.36
#0C3A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0C3A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3A42
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A42#FFFFFF#000000##FFFFFF
##0C3A421.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343842
Deuteranopia (green-blind)
#2C3242
Tritanopia (blue-blind)
#003D3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3a42;
/* rgb */ color: rgb(12, 58, 66);
/* oklch */ color: oklch(32.2% 0.049 211.8);
Tailwind
colors: {
  custom: {
    50: '#557076',
    500: '#0c3a42',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a42;
$custom-light: #557076;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a42",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 188.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32234,
    "c": 0.04949,
    "h": 211.8
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#0C3A42
secondary
#7E382C
accent
#563CEC
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #0C3A42

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

Preview Lab → · Contrast checker → · Palette generator →

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