#021B2F#021B2F

#021B2F is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.5% C 0.051 H 245.4°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#021B2F
RGBrgb(2, 27, 47)
HSLhsl(207, 92%, 10%)
HSVhsv(207, 96%, 18%)
CMYKcmyk(95.7%, 42.6%, 0%, 81.6%)
CIE-LABlab(9.01, -0.85, -16.15)
CIE-LCHlch(9.01, 16.17, 266.98°)
OKLaboklab(21.48% -0.021 -0.046)
OKLCHoklch(21.48% 0.051 245.4)
XYZxyz(0.9299, 1.0019, 2.8331)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B2F #2F1602
analogous
#022F2D #021B2F #02042F
triadic
#021B2F #2F021B #1B2F02
tetradic
#021B2F #2D022F #2F1602 #042F02
square
#021B2F #2D022F #2F1602 #042F02
split-complementary
#021B2F #2F0204 #2F2D02
monochromatic
#01111D #01111D #021B2F #043D6A #075EA4

Accessibility & contrast

On white

17.49
#021B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B2F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B2F#FFFFFF#000000##FFFFFF
##021B2F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C30
Deuteranopia (green-blind)
#0A182F
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021b2f;
/* rgb */ color: rgb(2, 27, 47);
/* oklch */ color: oklch(21.5% 0.051 245.4);
Tailwind
colors: {
  custom: {
    50: '#4a5667',
    500: '#021b2f',
    950: '#000000',
  },
}
SCSS
$custom: #021b2f;
$custom-light: #4a5667;
$custom-dark: #000000;
JSON
{
  "hex": "#021b2f",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 206.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2148,
    "c": 0.05059,
    "h": 245.4
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#021B2F
secondary
#744119
accent
#8829FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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