#012A27#012A27

#012A27 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.7% C 0.044 H 187.4°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#012A27
RGBrgb(1, 42, 39)
HSLhsl(176, 95%, 8%)
HSVhsv(176, 98%, 16%)
CMYKcmyk(97.6%, 0%, 7.1%, 83.5%)
CIE-LABlab(14.45, -14.61, -2.01)
CIE-LCHlch(14.45, 14.75, 187.84°)
OKLaboklab(25.71% -0.0436 -0.0057)
OKLCHoklch(25.71% 0.044 187.4)
XYZxyz(1.2065, 1.8087, 2.2046)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A27 #2A0104
analogous
#012A12 #012A27 #01182A
triadic
#012A27 #27012A #2A2701
tetradic
#012A27 #12012A #2A0104 #182A01
square
#012A27 #12012A #2A0104 #182A01
split-complementary
#012A27 #2A0118 #2A1201
monochromatic
#011E1C #011E1C #012A27 #02665F #04A296

Accessibility & contrast

On white

15.42
#012A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#012A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012A27
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A27#FFFFFF#000000##FFFFFF
##012A271.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272727
Deuteranopia (green-blind)
#212327
Tritanopia (blue-blind)
#002B29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #012a27;
/* rgb */ color: rgb(1, 42, 39);
/* oklch */ color: oklch(25.7% 0.044 187.4);
Tailwind
colors: {
  custom: {
    50: '#4a6460',
    500: '#012a27',
    950: '#000000',
  },
}
SCSS
$custom: #012a27;
$custom-light: #4a6460;
$custom-dark: #000000;
JSON
{
  "hex": "#012a27",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 175.61,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25713,
    "c": 0.04397,
    "h": 187.4
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#012A27
secondary
#70161D
accent
#2938FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010505
muted
#777979

Preview Lab

Preview with #012A27

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

Preview Lab → · Contrast checker → · Palette generator →

#012A27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva