#021326#021326

#021326 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.4% C 0.046 H 250.6°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#021326
RGBrgb(2, 19, 38)
HSLhsl(212, 90%, 8%)
HSVhsv(212, 95%, 15%)
CMYKcmyk(94.7%, 50%, 0%, 85.1%)
CIE-LABlab(5.59, 0.81, -14.84)
CIE-LCHlch(5.59, 14.87, 273.12°)
OKLaboklab(18.36% -0.0154 -0.0439)
OKLCHoklch(18.36% 0.046 250.6)
XYZxyz(0.6076, 0.6185, 1.9207)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021326 #261502
analogous
#022526 #021326 #030226
triadic
#021326 #260213 #132602
tetradic
#021326 #260225 #261502 #022603
square
#021326 #260225 #261502 #022603
split-complementary
#021326 #260302 #252602
monochromatic
#020F1D #020F1D #021326 #053060 #084D9A

Accessibility & contrast

On white

18.69
#021326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#021326 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021326
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021326#FFFFFF#000000##FFFFFF
##0213261.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1427
Deuteranopia (green-blind)
#051126
Tritanopia (blue-blind)
#00181A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #021326;
/* rgb */ color: rgb(2, 19, 38);
/* oklch */ color: oklch(18.4% 0.046 250.6);
Tailwind
colors: {
  custom: {
    50: '#485060',
    500: '#021326',
    950: '#000000',
  },
}
SCSS
$custom: #021326;
$custom-light: #485060;
$custom-dark: #000000;
JSON
{
  "hex": "#021326",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 38
  },
  "hsl": {
    "h": 211.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18356,
    "c": 0.04649,
    "h": 250.6
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#021326
secondary
#6B4418
accent
#9A29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000205
muted
#777879

Preview Lab

Preview with #021326

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

Preview Lab → · Contrast checker → · Palette generator →

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