#021F34#021F34

#021F34 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 23.0% C 0.053 H 243.9°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#021F34
RGBrgb(2, 31, 52)
HSLhsl(205, 93%, 11%)
HSVhsv(205, 96%, 20%)
CMYKcmyk(96.2%, 40.4%, 0%, 79.6%)
CIE-LABlab(10.85, -1.48, -16.85)
CIE-LCHlch(10.85, 16.92, 264.98°)
OKLaboklab(23.05% -0.0235 -0.048)
OKLCHoklch(23.05% 0.053 243.9)
XYZxyz(1.1346, 1.2407, 3.4278)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F34 #341702
analogous
#023430 #021F34 #020634
triadic
#021F34 #34021F #1F3402
tetradic
#021F34 #300234 #341702 #063402
square
#021F34 #300234 #341702 #063402
split-complementary
#021F34 #340206 #343002
monochromatic
#01121D #01121D #021F34 #04426F #0765AA

Accessibility & contrast

On white

16.82
#021F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#021F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F34
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F34#FFFFFF#000000##FFFFFF
##021F341.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152035
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#002427
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #021f34;
/* rgb */ color: rgb(2, 31, 52);
/* oklch */ color: oklch(23.0% 0.053 243.9);
Tailwind
colors: {
  custom: {
    50: '#4c5a6b',
    500: '#021f34',
    950: '#000000',
  },
}
SCSS
$custom: #021f34;
$custom-light: #4c5a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#021f34",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 205.2,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.23045,
    "c": 0.05342,
    "h": 243.9
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#021F34
secondary
#78411A
accent
#8329FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021F34

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

Preview Lab → · Contrast checker → · Palette generator →

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