#02261B#02261B

#02261B is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.0% C 0.046 H 168.2°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#02261B
RGBrgb(2, 38, 27)
HSLhsl(162, 90%, 8%)
HSVhsv(162, 95%, 15%)
CMYKcmyk(94.7%, 0%, 28.9%, 85.1%)
CIE-LABlab(12.47, -16.31, 3.68)
CIE-LCHlch(12.47, 16.72, 167.28°)
OKLaboklab(23.97% -0.0452 0.0094)
OKLCHoklch(23.97% 0.046 168.2)
XYZxyz(0.9159, 1.4781, 1.2737)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02261B #26020D
analogous
#022609 #02261B #021F26
triadic
#02261B #1B0226 #261B02
tetradic
#02261B #090226 #26020D #1F2602
square
#02261B #090226 #26020D #1F2602
split-complementary
#02261B #26021F #260902
monochromatic
#021D15 #021D15 #02261B #056044 #089A6E

Accessibility & contrast

On white

16.21
#02261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#02261B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02261B
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02261B#FFFFFF#000000##FFFFFF
##02261B1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25221A
Deuteranopia (green-blind)
#201F1C
Tritanopia (blue-blind)
#002623
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #02261b;
/* rgb */ color: rgb(2, 38, 27);
/* oklch */ color: oklch(24.0% 0.046 168.2);
Tailwind
colors: {
  custom: {
    50: '#486057',
    500: '#02261b',
    950: '#000000',
  },
}
SCSS
$custom: #02261b;
$custom-light: #486057;
$custom-dark: #000000;
JSON
{
  "hex": "#02261b",
  "rgb": {
    "r": 2,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 161.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23968,
    "c": 0.04615,
    "h": 168.2
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#02261B
secondary
#6B1832
accent
#296AFF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #02261B

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

Preview Lab → · Contrast checker → · Palette generator →

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