#021B2D#021B2D

#021B2D is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.3% C 0.048 H 242.8°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#021B2D
RGBrgb(2, 27, 45)
HSLhsl(205, 91%, 9%)
HSVhsv(205, 96%, 18%)
CMYKcmyk(95.6%, 40%, 0%, 82.4%)
CIE-LABlab(8.88, -1.82, -14.89)
CIE-LCHlch(8.88, 15.00, 263.04°)
OKLaboklab(21.33% -0.0218 -0.0423)
OKLCHoklch(21.33% 0.048 242.8)
XYZxyz(0.8904, 0.9861, 2.6255)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B2D #2D1402
analogous
#022D2A #021B2D #02062D
triadic
#021B2D #2D021B #1B2D02
tetradic
#021B2D #2A022D #2D1402 #062D02
square
#021B2D #2A022D #2D1402 #062D02
split-complementary
#021B2D #2D0206 #2D2A02
monochromatic
#01121D #01121D #021B2D #053E68 #0761A2

Accessibility & contrast

On white

17.54
#021B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B2D
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B2D#FFFFFF#000000##FFFFFF
##021B2D1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C2E
Deuteranopia (green-blind)
#0C172D
Tritanopia (blue-blind)
#001F21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021b2d;
/* rgb */ color: rgb(2, 27, 45);
/* oklch */ color: oklch(21.3% 0.048 242.8);
Tailwind
colors: {
  custom: {
    50: '#495766',
    500: '#021b2d',
    950: '#000000',
  },
}
SCSS
$custom: #021b2d;
$custom-light: #495766;
$custom-dark: #000000;
JSON
{
  "hex": "#021b2d",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 205.116,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21333,
    "c": 0.04762,
    "h": 242.8
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#021B2D
secondary
#723E19
accent
#8229FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #021B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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