#02301B#02301B

#02301B is a dark, moderate teal. Relative luminance 0.022; OKLCH L 27.3% C 0.062 H 157.9°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#02301B
RGBrgb(2, 48, 27)
HSLhsl(153, 92%, 10%)
HSVhsv(153, 96%, 19%)
CMYKcmyk(95.8%, 0%, 43.8%, 81.2%)
CIE-LABlab(16.53, -21.28, 9.29)
CIE-LCHlch(16.53, 23.22, 156.41°)
OKLaboklab(27.32% -0.0574 0.0233)
OKLCHoklch(27.32% 0.062 157.9)
XYZxyz(1.2797, 2.2058, 1.3950)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02301B #300217
analogous
#023004 #02301B #022E30
triadic
#02301B #1B0230 #301B02
tetradic
#02301B #040230 #300217 #2E3002
square
#02301B #040230 #300217 #2E3002
split-complementary
#02301B #30022E #300402
monochromatic
#011D11 #011D11 #02301B #046B3C #07A65D

Accessibility & contrast

On white

14.57
#02301B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#02301B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02301B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02301B#FFFFFF#000000##FFFFFF
##02301B1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1A
Deuteranopia (green-blind)
#2A271C
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #02301b;
/* rgb */ color: rgb(2, 48, 27);
/* oklch */ color: oklch(27.3% 0.062 157.9);
Tailwind
colors: {
  custom: {
    50: '#4b6957',
    500: '#02301b',
    950: '#000000',
  },
}
SCSS
$custom: #02301b;
$custom-light: #4b6957;
$custom-dark: #000000;
JSON
{
  "hex": "#02301b",
  "rgb": {
    "r": 2,
    "g": 48,
    "b": 27
  },
  "hsl": {
    "h": 152.609,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27317,
    "c": 0.06201,
    "h": 157.9
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#02301B
secondary
#751943
accent
#298BFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02301B

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

Preview Lab → · Contrast checker → · Palette generator →

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