#021F2C#021F2C

#021F2C is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.5% C 0.043 H 231.2°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#021F2C
RGBrgb(2, 31, 44)
HSLhsl(199, 91%, 9%)
HSVhsv(199, 95%, 17%)
CMYKcmyk(95.5%, 29.5%, 0%, 82.7%)
CIE-LABlab(10.37, -5.22, -11.82)
CIE-LCHlch(10.37, 12.92, 246.16°)
OKLaboklab(22.5% -0.0268 -0.0333)
OKLCHoklch(22.5% 0.043 231.2)
XYZxyz(0.9695, 1.1746, 2.5580)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F2C #2C0F02
analogous
#022C24 #021F2C #020A2C
triadic
#021F2C #2C021F #1F2C02
tetradic
#021F2C #24022C #2C0F02 #0A2C02
square
#021F2C #24022C #2C0F02 #0A2C02
split-complementary
#021F2C #2C020A #2C2402
monochromatic
#01151D #01151D #021F2C #054867 #0771A1

Accessibility & contrast

On white

17.00
#021F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#021F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F2C
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F2C#FFFFFF#000000##FFFFFF
##021F2C1.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2D
Deuteranopia (green-blind)
#121A2C
Tritanopia (blue-blind)
#002323
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021f2c;
/* rgb */ color: rgb(2, 31, 44);
/* oklch */ color: oklch(22.5% 0.043 231.2);
Tailwind
colors: {
  custom: {
    50: '#495a65',
    500: '#021f2c',
    950: '#000000',
  },
}
SCSS
$custom: #021f2c;
$custom-light: #495a65;
$custom-dark: #000000;
JSON
{
  "hex": "#021f2c",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 198.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.225,
    "c": 0.04276,
    "h": 231.2
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#021F2C
secondary
#713419
accent
#6B29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #021F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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