#021A2E#021A2E

#021A2E is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 21.1% C 0.050 H 246.2°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#021A2E
RGBrgb(2, 26, 46)
HSLhsl(207, 92%, 9%)
HSVhsv(207, 96%, 18%)
CMYKcmyk(95.7%, 43.5%, 0%, 82%)
CIE-LABlab(8.56, -0.57, -16.13)
CIE-LCHlch(8.56, 16.14, 267.99°)
OKLaboklab(21.1% -0.0203 -0.046)
OKLCHoklch(21.1% 0.05 246.2)
XYZxyz(0.8874, 0.9488, 2.7206)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A2E #2E1602
analogous
#022E2C #021A2E #02042E
triadic
#021A2E #2E021A #1A2E02
tetradic
#021A2E #2C022E #2E1602 #042E02
square
#021A2E #2C022E #2E1602 #042E02
split-complementary
#021A2E #2E0204 #2E2C02
monochromatic
#01111D #01111D #021A2E #053B69 #075CA3

Accessibility & contrast

On white

17.65
#021A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#021A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A2E
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A2E#FFFFFF#000000##FFFFFF
##021A2E1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B2F
Deuteranopia (green-blind)
#0A172E
Tritanopia (blue-blind)
#001F21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021a2e;
/* rgb */ color: rgb(2, 26, 46);
/* oklch */ color: oklch(21.1% 0.050 246.2);
Tailwind
colors: {
  custom: {
    50: '#4a5667',
    500: '#021a2e',
    950: '#000000',
  },
}
SCSS
$custom: #021a2e;
$custom-light: #4a5667;
$custom-dark: #000000;
JSON
{
  "hex": "#021a2e",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 207.273,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21104,
    "c": 0.05027,
    "h": 246.2
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

primary
#021A2E
secondary
#734219
accent
#8A29FF
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021A2E

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

Preview Lab → · Contrast checker → · Palette generator →

#021A2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva