#012827#012827

#012827 is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.1% C 0.042 H 192.2°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#012827
RGBrgb(1, 40, 39)
HSLhsl(178, 95%, 8%)
HSVhsv(178, 98%, 16%)
CMYKcmyk(97.5%, 0%, 2.5%, 84.3%)
CIE-LABlab(13.65, -13.45, -3.19)
CIE-LCHlch(13.65, 13.83, 193.36°)
OKLaboklab(25.06% -0.0412 -0.0089)
OKLCHoklch(25.06% 0.042 192.2)
XYZxyz(1.1373, 1.6704, 2.1815)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012827 #280102
analogous
#012813 #012827 #011528
triadic
#012827 #270128 #282701
tetradic
#012827 #130128 #280102 #152801
square
#012827 #130128 #280102 #152801
split-complementary
#012827 #280115 #281301
monochromatic
#011E1D #011E1D #012827 #026461 #049F9B

Accessibility & contrast

On white

15.74
#012827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#012827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012827
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012827#FFFFFF#000000##FFFFFF
##0128271.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252527
Deuteranopia (green-blind)
#1F2127
Tritanopia (blue-blind)
#002A28
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #012827;
/* rgb */ color: rgb(1, 40, 39);
/* oklch */ color: oklch(25.1% 0.042 192.2);
Tailwind
colors: {
  custom: {
    50: '#496261',
    500: '#012827',
    950: '#000000',
  },
}
SCSS
$custom: #012827;
$custom-light: #496261;
$custom-dark: #000000;
JSON
{
  "hex": "#012827",
  "rgb": {
    "r": 1,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 178.462,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25063,
    "c": 0.04212,
    "h": 192.2
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#012827
secondary
#6F1618
accent
#292EFF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010505
muted
#777979

Preview Lab

Preview with #012827

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

Preview Lab → · Contrast checker → · Palette generator →

#012827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva