#0C3840#0C3840

#0C3840 is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.5% C 0.048 H 212.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#0C3840
RGBrgb(12, 56, 64)
HSLhsl(189, 68%, 15%)
HSVhsv(189, 81%, 25%)
CMYKcmyk(81.2%, 12.5%, 0%, 74.9%)
CIE-LABlab(21.12, -11.48, -9.26)
CIE-LCHlch(21.12, 14.75, 218.89°)
OKLaboklab(31.55% -0.0406 -0.0258)
OKLCHoklch(31.55% 0.048 212.4)
XYZxyz(2.4908, 3.2764, 5.3506)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3840 #40140C
analogous
#0C402E #0C3840 #0C1E40
triadic
#0C3840 #400C38 #38400C
tetradic
#0C3840 #2E0C40 #40140C #1E400C
square
#0C3840 #2E0C40 #40140C #1E400C
split-complementary
#0C3840 #400C1E #402E0C
monochromatic
#05171A #05171A #0C3840 #166574 #1F92A7

Accessibility & contrast

On white

12.69
#0C3840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C3840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3840
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3840#FFFFFF#000000##FFFFFF
##0C38401.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#2B3040
Tritanopia (blue-blind)
#003B3A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3840;
/* rgb */ color: rgb(12, 56, 64);
/* oklch */ color: oklch(31.5% 0.048 212.4);
Tailwind
colors: {
  custom: {
    50: '#546e74',
    500: '#0c3840',
    950: '#000000',
  },
}
SCSS
$custom: #0c3840;
$custom-light: #546e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3840",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 189.231,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31548,
    "c": 0.04813,
    "h": 212.4
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#0C3840
secondary
#7C382C
accent
#573DEB
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #0C3840

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

Preview Lab → · Contrast checker → · Palette generator →

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