#021F2B#021F2B

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

Color values

HEX#021F2B
RGBrgb(2, 31, 43)
HSLhsl(198, 91%, 9%)
HSVhsv(198, 95%, 17%)
CMYKcmyk(95.3%, 27.9%, 0%, 83.1%)
CIE-LABlab(10.31, -5.68, -11.17)
CIE-LCHlch(10.31, 12.54, 243.05°)
OKLaboklab(22.44% -0.0272 -0.0315)
OKLCHoklch(22.44% 0.042 229.1)
XYZxyz(0.9509, 1.1672, 2.4602)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F2B #2B0E02
analogous
#022B23 #021F2B #020B2B
triadic
#021F2B #2B021F #1F2B02
tetradic
#021F2B #23022B #2B0E02 #0B2B02
square
#021F2B #23022B #2B0E02 #0B2B02
split-complementary
#021F2B #2B020B #2B2302
monochromatic
#01151D #01151D #021F2B #054965 #0773A0

Accessibility & contrast

On white

17.03
#021F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F2B
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F2B#FFFFFF#000000##FFFFFF
##021F2B1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021f2b;
/* rgb */ color: rgb(2, 31, 43);
/* oklch */ color: oklch(22.4% 0.042 229.1);
Tailwind
colors: {
  custom: {
    50: '#495a64',
    500: '#021f2b',
    950: '#000000',
  },
}
SCSS
$custom: #021f2b;
$custom-light: #495a64;
$custom-dark: #000000;
JSON
{
  "hex": "#021f2b",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 197.561,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.22437,
    "c": 0.04163,
    "h": 229.1
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#021F2B
secondary
#703219
accent
#6729FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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