#021729#021729

#021729 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.8% C 0.046 H 245.9°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#021729
RGBrgb(2, 23, 41)
HSLhsl(208, 91%, 8%)
HSVhsv(208, 95%, 16%)
CMYKcmyk(95.1%, 43.9%, 0%, 83.9%)
CIE-LABlab(7.10, -0.63, -14.74)
CIE-LCHlch(7.10, 14.75, 267.57°)
OKLaboklab(19.81% -0.0188 -0.0421)
OKLCHoklch(19.81% 0.046 245.9)
XYZxyz(0.7315, 0.7857, 2.2105)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021729 #291402
analogous
#022927 #021729 #020329
triadic
#021729 #290217 #172902
tetradic
#021729 #270229 #291402 #032902
square
#021729 #270229 #291402 #032902
split-complementary
#021729 #290203 #292702
monochromatic
#01101D #01101D #021729 #053863 #08589E

Accessibility & contrast

On white

18.15
#021729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021729
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021729#FFFFFF#000000##FFFFFF
##0217291.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182A
Deuteranopia (green-blind)
#081429
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021729;
/* rgb */ color: rgb(2, 23, 41);
/* oklch */ color: oklch(19.8% 0.046 245.9);
Tailwind
colors: {
  custom: {
    50: '#485362',
    500: '#021729',
    950: '#000000',
  },
}
SCSS
$custom: #021729;
$custom-light: #485362;
$custom-dark: #000000;
JSON
{
  "hex": "#021729",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 41
  },
  "hsl": {
    "h": 207.692,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19813,
    "c": 0.04616,
    "h": 245.9
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#021729
secondary
#6E4019
accent
#8C29FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #021729

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

Preview Lab → · Contrast checker → · Palette generator →

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