#021526#021526

#021526 is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.0% C 0.044 H 246.3°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#021526
RGBrgb(2, 21, 38)
HSLhsl(208, 90%, 8%)
HSVhsv(208, 95%, 15%)
CMYKcmyk(94.7%, 44.7%, 0%, 85.1%)
CIE-LABlab(6.22, -0.49, -13.85)
CIE-LCHlch(6.22, 13.86, 267.96°)
OKLaboklab(18.97% -0.0177 -0.0402)
OKLCHoklch(18.97% 0.044 246.3)
XYZxyz(0.6429, 0.6891, 1.9325)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021526 #261302
analogous
#022625 #021526 #020326
triadic
#021526 #260215 #152602
tetradic
#021526 #250226 #261302 #032602
square
#021526 #250226 #261302 #032602
split-complementary
#021526 #260203 #262502
monochromatic
#02101D #02101D #021526 #053560 #08559A

Accessibility & contrast

On white

18.46
#021526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#021526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021526
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021526#FFFFFF#000000##FFFFFF
##0215261.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1627
Deuteranopia (green-blind)
#071226
Tritanopia (blue-blind)
#00191B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #021526;
/* rgb */ color: rgb(2, 21, 38);
/* oklch */ color: oklch(19.0% 0.044 246.3);
Tailwind
colors: {
  custom: {
    50: '#485260',
    500: '#021526',
    950: '#000000',
  },
}
SCSS
$custom: #021526;
$custom-light: #485260;
$custom-dark: #000000;
JSON
{
  "hex": "#021526",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 208.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18969,
    "c": 0.04389,
    "h": 246.3
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#021526
secondary
#6B4018
accent
#8E29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000205
muted
#777879

Preview Lab

Preview with #021526

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

Preview Lab → · Contrast checker → · Palette generator →

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