#021F30#021F30

#021F30 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.8% C 0.048 H 238.4°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#021F30
RGBrgb(2, 31, 48)
HSLhsl(202, 92%, 10%)
HSVhsv(202, 96%, 19%)
CMYKcmyk(95.8%, 35.4%, 0%, 81.2%)
CIE-LABlab(10.60, -3.37, -14.36)
CIE-LCHlch(10.60, 14.75, 256.80°)
OKLaboklab(22.76% -0.025 -0.0407)
OKLCHoklch(22.76% 0.048 238.4)
XYZxyz(1.0483, 1.2061, 2.9733)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F30 #301302
analogous
#02302A #021F30 #020830
triadic
#021F30 #30021F #1F3002
tetradic
#021F30 #2A0230 #301302 #083002
square
#021F30 #2A0230 #301302 #083002
split-complementary
#021F30 #300208 #302A02
monochromatic
#01131D #01131D #021F30 #04456B #076BA6

Accessibility & contrast

On white

16.92
#021F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#021F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F30
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F30#FFFFFF#000000##FFFFFF
##021F301.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F31
Deuteranopia (green-blind)
#101B30
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #021f30;
/* rgb */ color: rgb(2, 31, 48);
/* oklch */ color: oklch(22.8% 0.048 238.4);
Tailwind
colors: {
  custom: {
    50: '#4a5a68',
    500: '#021f30',
    950: '#000000',
  },
}
SCSS
$custom: #021f30;
$custom-light: #4a5a68;
$custom-dark: #000000;
JSON
{
  "hex": "#021f30",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 202.174,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.22764,
    "c": 0.0478,
    "h": 238.4
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#021F30
secondary
#753B19
accent
#7829FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021F30

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

Preview Lab → · Contrast checker → · Palette generator →

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