#02251D#02251D

#02251D is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.7% C 0.043 H 174.1°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#02251D
RGBrgb(2, 37, 29)
HSLhsl(166, 90%, 8%)
HSVhsv(166, 95%, 15%)
CMYKcmyk(94.6%, 0%, 21.6%, 85.5%)
CIE-LABlab(12.12, -15.10, 1.75)
CIE-LCHlch(12.12, 15.21, 173.40°)
OKLaboklab(23.7% -0.0426 0.0044)
OKLCHoklch(23.7% 0.043 174.1)
XYZxyz(0.9083, 1.4246, 1.3893)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02251D #25020A
analogous
#02250C #02251D #021B25
triadic
#02251D #1D0225 #251D02
tetradic
#02251D #0C0225 #25020A #1B2502
square
#02251D #0C0225 #25020A #1B2502
split-complementary
#02251D #25021B #250C02
monochromatic
#021D17 #021D17 #02251D #055F4B #089978

Accessibility & contrast

On white

16.34
#02251D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#02251D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02251D
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02251D#FFFFFF#000000##FFFFFF
##02251D1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221D
Deuteranopia (green-blind)
#1F1E1E
Tritanopia (blue-blind)
#002623
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #02251d;
/* rgb */ color: rgb(2, 37, 29);
/* oklch */ color: oklch(23.7% 0.043 174.1);
Tailwind
colors: {
  custom: {
    50: '#486058',
    500: '#02251d',
    950: '#000000',
  },
}
SCSS
$custom: #02251d;
$custom-light: #486058;
$custom-dark: #000000;
JSON
{
  "hex": "#02251d",
  "rgb": {
    "r": 2,
    "g": 37,
    "b": 29
  },
  "hsl": {
    "h": 166.286,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23703,
    "c": 0.04288,
    "h": 174.1
  },
  "luminance": 0.01425
}

Semantic roles & 50–950 ramp

primary
#02251D
secondary
#6A182B
accent
#295AFF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #02251D

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

Preview Lab → · Contrast checker → · Palette generator →

#02251D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva