#021931#021931

#021931 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 21.0% C 0.056 H 251.0°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#021931
RGBrgb(2, 25, 49)
HSLhsl(211, 92%, 10%)
HSVhsv(211, 96%, 19%)
CMYKcmyk(95.9%, 49%, 0%, 80.8%)
CIE-LABlab(8.39, 1.68, -18.59)
CIE-LCHlch(8.39, 18.67, 275.16°)
OKLaboklab(21.04% -0.0183 -0.0532)
OKLCHoklch(21.04% 0.056 251)
XYZxyz(0.9268, 0.9298, 3.0358)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021931 #311A02
analogous
#023131 #021931 #020231
triadic
#021931 #310219 #193102
tetradic
#021931 #310231 #311A02 #023102
square
#021931 #310231 #311A02 #023102
split-complementary
#021931 #310202 #313102
monochromatic
#010F1D #010F1D #021931 #04376C #0755A7

Accessibility & contrast

On white

17.71
#021931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#021931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021931
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021931#FFFFFF#000000##FFFFFF
##0219311.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1B32
Deuteranopia (green-blind)
#051631
Tritanopia (blue-blind)
#001F22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021931;
/* rgb */ color: rgb(2, 25, 49);
/* oklch */ color: oklch(21.0% 0.056 251.0);
Tailwind
colors: {
  custom: {
    50: '#4a5569',
    500: '#021931',
    950: '#000000',
  },
}
SCSS
$custom: #021931;
$custom-light: #4a5569;
$custom-dark: #000000;
JSON
{
  "hex": "#021931",
  "rgb": {
    "r": 2,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 210.638,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.21043,
    "c": 0.05628,
    "h": 251
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#021931
secondary
#754819
accent
#9629FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021931

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

Preview Lab → · Contrast checker → · Palette generator →

#021931 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva