#0C3A40#0C3A40

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

Color values

HEX#0C3A40
RGBrgb(12, 58, 64)
HSLhsl(187, 68%, 15%)
HSVhsv(187, 81%, 25%)
CMYKcmyk(81.2%, 9.4%, 0%, 74.9%)
CIE-LABlab(21.85, -12.69, -8.15)
CIE-LCHlch(21.85, 15.08, 212.69°)
OKLaboklab(32.14% -0.0431 -0.0226)
OKLCHoklch(32.14% 0.049 207.7)
XYZxyz(2.5897, 3.4741, 5.3836)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A40 #40120C
analogous
#0C402C #0C3A40 #0C2040
triadic
#0C3A40 #400C3A #3A400C
tetradic
#0C3A40 #2C0C40 #40120C #20400C
square
#0C3A40 #2C0C40 #40120C #20400C
split-complementary
#0C3A40 #400C20 #402C0C
monochromatic
#05171A #05171A #0C3A40 #166974 #1F97A7

Accessibility & contrast

On white

12.39
#0C3A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0C3A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3A40
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A40#FFFFFF#000000##FFFFFF
##0C3A401.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343740
Deuteranopia (green-blind)
#2D3240
Tritanopia (blue-blind)
#003D3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3a40;
/* rgb */ color: rgb(12, 58, 64);
/* oklch */ color: oklch(32.1% 0.049 207.7);
Tailwind
colors: {
  custom: {
    50: '#547074',
    500: '#0c3a40',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a40;
$custom-light: #547074;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a40",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 64
  },
  "hsl": {
    "h": 186.923,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.04866,
    "h": 207.7
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#0C3A40
secondary
#7C352C
accent
#513DEB
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #0C3A40

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

Preview Lab → · Contrast checker → · Palette generator →

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