#01231B#01231B

#01231B is a very dark, muted teal. Relative luminance 0.013; OKLCH L 22.9% C 0.043 H 173.7°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#01231B
RGBrgb(1, 35, 27)
HSLhsl(166, 94%, 7%)
HSVhsv(166, 97%, 14%)
CMYKcmyk(97.1%, 0%, 22.9%, 86.3%)
CIE-LABlab(11.19, -14.99, 1.85)
CIE-LCHlch(11.19, 15.10, 172.97°)
OKLaboklab(22.9% -0.0423 0.0047)
OKLCHoklch(22.9% 0.043 173.7)
XYZxyz(0.8113, 1.2875, 1.2425)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01231B #230109
analogous
#01230A #01231B #011A23
triadic
#01231B #1B0123 #231B01
tetradic
#01231B #0A0123 #230109 #1A2301
square
#01231B #0A0123 #230109 #1A2301
split-complementary
#01231B #23011A #230A01
monochromatic
#011E17 #011E17 #01231B #035F49 #049A77

Accessibility & contrast

On white

16.70
#01231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#01231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01231B
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01231B#FFFFFF#000000##FFFFFF
##01231B1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201B
Deuteranopia (green-blind)
#1D1C1C
Tritanopia (blue-blind)
#002421
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #01231b;
/* rgb */ color: rgb(1, 35, 27);
/* oklch */ color: oklch(22.9% 0.043 173.7);
Tailwind
colors: {
  custom: {
    50: '#475e57',
    500: '#01231b',
    950: '#000000',
  },
}
SCSS
$custom: #01231b;
$custom-light: #475e57;
$custom-dark: #000000;
JSON
{
  "hex": "#01231b",
  "rgb": {
    "r": 1,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 165.882,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22904,
    "c": 0.04253,
    "h": 173.7
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#01231B
secondary
#6A162A
accent
#295BFF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #01231B

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

Preview Lab → · Contrast checker → · Palette generator →

#01231B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva