#02251F#02251F

#02251F is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.8% C 0.041 H 178.8°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#02251F
RGBrgb(2, 37, 31)
HSLhsl(170, 90%, 8%)
HSVhsv(170, 95%, 15%)
CMYKcmyk(94.6%, 0%, 16.2%, 85.5%)
CIE-LABlab(12.19, -14.41, 0.40)
CIE-LCHlch(12.19, 14.42, 178.40°)
OKLaboklab(23.78% -0.0414 0.0008)
OKLCHoklch(23.78% 0.041 178.8)
XYZxyz(0.9338, 1.4349, 1.5238)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02251F #250208
analogous
#02250D #02251F #021925
triadic
#02251F #1F0225 #251F02
tetradic
#02251F #0D0225 #250208 #192502
square
#02251F #0D0225 #250208 #192502
split-complementary
#02251F #250219 #250D02
monochromatic
#021D18 #021D18 #02251F #055F50 #089980

Accessibility & contrast

On white

16.32
#02251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02251F
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02251F#FFFFFF#000000##FFFFFF
##02251F1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02251f;
/* rgb */ color: rgb(2, 37, 31);
/* oklch */ color: oklch(23.8% 0.041 178.8);
Tailwind
colors: {
  custom: {
    50: '#485f5a',
    500: '#02251f',
    950: '#000000',
  },
}
SCSS
$custom: #02251f;
$custom-light: #485f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#02251f",
  "rgb": {
    "r": 2,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 169.714,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.2378,
    "c": 0.04142,
    "h": 178.8
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#02251F
secondary
#6A1826
accent
#294EFF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #02251F

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

Preview Lab → · Contrast checker → · Palette generator →

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