#021B2E#021B2E

#021B2E is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.4% C 0.049 H 244.1°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#021B2E
RGBrgb(2, 27, 46)
HSLhsl(206, 92%, 9%)
HSVhsv(206, 96%, 18%)
CMYKcmyk(95.7%, 41.3%, 0%, 82%)
CIE-LABlab(8.94, -1.34, -15.52)
CIE-LCHlch(8.94, 15.58, 265.08°)
OKLaboklab(21.41% -0.0214 -0.0442)
OKLCHoklch(21.41% 0.049 244.1)
XYZxyz(0.9099, 0.9939, 2.7281)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B2E #2E1502
analogous
#022E2B #021B2E #02052E
triadic
#021B2E #2E021B #1B2E02
tetradic
#021B2E #2B022E #2E1502 #052E02
square
#021B2E #2B022E #2E1502 #052E02
split-complementary
#021B2E #2E0205 #2E2B02
monochromatic
#01111D #01111D #021B2E #053D69 #0760A3

Accessibility & contrast

On white

17.52
#021B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B2E
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B2E#FFFFFF#000000##FFFFFF
##021B2E1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#0B172E
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021b2e;
/* rgb */ color: rgb(2, 27, 46);
/* oklch */ color: oklch(21.4% 0.049 244.1);
Tailwind
colors: {
  custom: {
    50: '#4a5666',
    500: '#021b2e',
    950: '#000000',
  },
}
SCSS
$custom: #021b2e;
$custom-light: #4a5666;
$custom-dark: #000000;
JSON
{
  "hex": "#021b2e",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 205.909,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21406,
    "c": 0.04909,
    "h": 244.1
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#021B2E
secondary
#734019
accent
#8529FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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