#0C251E#0C251E

#0C251E is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.2% C 0.034 H 172.5°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#0C251E
RGBrgb(12, 37, 30)
HSLhsl(163, 51%, 10%)
HSVhsv(163, 68%, 15%)
CMYKcmyk(67.6%, 0%, 18.9%, 85.5%)
CIE-LABlab(12.58, -11.90, 1.74)
CIE-LCHlch(12.58, 12.03, 171.69°)
OKLaboklab(24.21% -0.0338 0.0044)
OKLCHoklch(24.21% 0.034 172.5)
XYZxyz(1.0474, 1.4949, 1.4614)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C251E #250C13
analogous
#0C2512 #0C251E #0C2025
triadic
#0C251E #1E0C25 #251E0C
tetradic
#0C251E #120C25 #250C13 #20250C
square
#0C251E #120C25 #250C13 #20250C
split-complementary
#0C251E #250C20 #25120C
monochromatic
#071713 #071713 #0C251E #1B5343 #2A8169

Accessibility & contrast

On white

16.17
#0C251E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0C251E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C251E
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C251E#FFFFFF#000000##FFFFFF
##0C251E1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221E
Deuteranopia (green-blind)
#20201E
Tritanopia (blue-blind)
#032523
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c251e;
/* rgb */ color: rgb(12, 37, 30);
/* oklch */ color: oklch(24.2% 0.034 172.5);
Tailwind
colors: {
  custom: {
    50: '#4d5f59',
    500: '#0c251e',
    950: '#000000',
  },
}
SCSS
$custom: #0c251e;
$custom-light: #4d5f59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c251e",
  "rgb": {
    "r": 12,
    "g": 37,
    "b": 30
  },
  "hsl": {
    "h": 163.2,
    "s": 51.02,
    "l": 9.608
  },
  "oklch": {
    "l": 0.24205,
    "c": 0.03407,
    "h": 172.5
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#0C251E
secondary
#602D3B
accent
#4D75DA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #0C251E

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

Preview Lab → · Contrast checker → · Palette generator →

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