#021726#021726

#021726 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.6% C 0.042 H 241.3°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#021726
RGBrgb(2, 23, 38)
HSLhsl(205, 90%, 8%)
HSVhsv(205, 95%, 15%)
CMYKcmyk(94.7%, 39.5%, 0%, 85.1%)
CIE-LABlab(6.92, -1.91, -12.77)
CIE-LCHlch(6.92, 12.92, 261.50°)
OKLaboklab(19.59% -0.02 -0.0365)
OKLCHoklch(19.59% 0.042 241.3)
XYZxyz(0.6811, 0.7656, 1.9452)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021726 #261102
analogous
#022623 #021726 #020526
triadic
#021726 #260217 #172602
tetradic
#021726 #230226 #261102 #052602
square
#021726 #230226 #261102 #052602
split-complementary
#021726 #260205 #262302
monochromatic
#02121D #02121D #021726 #053A60 #085D9A

Accessibility & contrast

On white

18.21
#021726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021726
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021726#FFFFFF#000000##FFFFFF
##0217261.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101727
Deuteranopia (green-blind)
#0A1426
Tritanopia (blue-blind)
#001B1C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021726;
/* rgb */ color: rgb(2, 23, 38);
/* oklch */ color: oklch(19.6% 0.042 241.3);
Tailwind
colors: {
  custom: {
    50: '#485360',
    500: '#021726',
    950: '#000000',
  },
}
SCSS
$custom: #021726;
$custom-light: #485360;
$custom-dark: #000000;
JSON
{
  "hex": "#021726",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 38
  },
  "hsl": {
    "h": 205,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19591,
    "c": 0.04162,
    "h": 241.3
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#021726
secondary
#6B3B18
accent
#8229FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000204
muted
#777879

Preview Lab

Preview with #021726

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

Preview Lab → · Contrast checker → · Palette generator →

#021726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva