#0C261E#0C261E

#0C261E is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.5% C 0.036 H 170.5°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#0C261E
RGBrgb(12, 38, 30)
HSLhsl(162, 52%, 10%)
HSVhsv(162, 68%, 15%)
CMYKcmyk(68.4%, 0%, 21.1%, 85.1%)
CIE-LABlab(12.97, -12.51, 2.31)
CIE-LCHlch(12.97, 12.72, 169.54°)
OKLaboklab(24.53% -0.0353 0.0059)
OKLCHoklch(24.53% 0.036 170.5)
XYZxyz(1.0790, 1.5580, 1.4719)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C261E #260C14
analogous
#0C2611 #0C261E #0C2126
triadic
#0C261E #1E0C26 #261E0C
tetradic
#0C261E #110C26 #260C14 #21260C
square
#0C261E #110C26 #260C14 #21260C
split-complementary
#0C261E #260C21 #26110C
monochromatic
#071712 #071712 #0C261E #1B5543 #298367

Accessibility & contrast

On white

16.01
#0C261E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0C261E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C261E
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C261E#FFFFFF#000000##FFFFFF
##0C261E1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231E
Deuteranopia (green-blind)
#21201F
Tritanopia (blue-blind)
#032624
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c261e;
/* rgb */ color: rgb(12, 38, 30);
/* oklch */ color: oklch(24.5% 0.036 170.5);
Tailwind
colors: {
  custom: {
    50: '#4d6059',
    500: '#0c261e',
    950: '#000000',
  },
}
SCSS
$custom: #0c261e;
$custom-light: #4d6059;
$custom-dark: #000000;
JSON
{
  "hex": "#0c261e",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 161.538,
    "s": 52,
    "l": 9.804
  },
  "oklch": {
    "l": 0.24527,
    "c": 0.03575,
    "h": 170.5
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#0C261E
secondary
#612D3D
accent
#4C78DB
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #0C261E

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

Preview Lab → · Contrast checker → · Palette generator →

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