#021F2A#021F2A

#021F2A is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.4% C 0.041 H 226.9°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#021F2A
RGBrgb(2, 31, 42)
HSLhsl(197, 91%, 9%)
HSVhsv(197, 95%, 16%)
CMYKcmyk(95.2%, 26.2%, 0%, 83.5%)
CIE-LABlab(10.26, -6.13, -10.53)
CIE-LCHlch(10.26, 12.18, 239.78°)
OKLaboklab(22.38% -0.0277 -0.0296)
OKLCHoklch(22.38% 0.041 226.9)
XYZxyz(0.9328, 1.1599, 2.3648)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F2A #2A0D02
analogous
#022A21 #021F2A #020B2A
triadic
#021F2A #2A021F #1F2A02
tetradic
#021F2A #21022A #2A0D02 #0B2A02
square
#021F2A #21022A #2A0D02 #0B2A02
split-complementary
#021F2A #2A020B #2A2102
monochromatic
#01161D #01161D #021F2A #054A64 #08759F

Accessibility & contrast

On white

17.05
#021F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F2A
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F2A#FFFFFF#000000##FFFFFF
##021F2A1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#002223
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021f2a;
/* rgb */ color: rgb(2, 31, 42);
/* oklch */ color: oklch(22.4% 0.041 226.9);
Tailwind
colors: {
  custom: {
    50: '#495a63',
    500: '#021f2a',
    950: '#000000',
  },
}
SCSS
$custom: #021f2a;
$custom-light: #495a63;
$custom-dark: #000000;
JSON
{
  "hex": "#021f2a",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 196.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.22376,
    "c": 0.04056,
    "h": 226.9
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#021F2A
secondary
#6F3019
accent
#6429FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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