#02251B#02251B

#02251B is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.6% C 0.045 H 169.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#02251B
RGBrgb(2, 37, 27)
HSLhsl(163, 90%, 8%)
HSVhsv(163, 95%, 15%)
CMYKcmyk(94.6%, 0%, 27%, 85.5%)
CIE-LABlab(12.06, -15.78, 3.10)
CIE-LCHlch(12.06, 16.08, 168.89°)
OKLaboklab(23.63% -0.0439 0.0079)
OKLCHoklch(23.63% 0.045 169.8)
XYZxyz(0.8843, 1.4151, 1.2632)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02251B #25020C
analogous
#022509 #02251B #021D25
triadic
#02251B #1B0225 #251B02
tetradic
#02251B #090225 #25020C #1D2502
square
#02251B #090225 #25020C #1D2502
split-complementary
#02251B #25021D #250902
monochromatic
#021D15 #021D15 #02251B #055F45 #089970

Accessibility & contrast

On white

16.37
#02251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#02251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02251B
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02251B#FFFFFF#000000##FFFFFF
##02251B1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221A
Deuteranopia (green-blind)
#1F1E1C
Tritanopia (blue-blind)
#002522
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #02251b;
/* rgb */ color: rgb(2, 37, 27);
/* oklch */ color: oklch(23.6% 0.045 169.8);
Tailwind
colors: {
  custom: {
    50: '#486057',
    500: '#02251b',
    950: '#000000',
  },
}
SCSS
$custom: #02251b;
$custom-light: #486057;
$custom-dark: #000000;
JSON
{
  "hex": "#02251b",
  "rgb": {
    "r": 2,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 162.857,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.2363,
    "c": 0.04462,
    "h": 169.8
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#02251B
secondary
#6A1830
accent
#2966FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #02251B

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

Preview Lab → · Contrast checker → · Palette generator →

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