#021C34#021C34

#021C34 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.2% C 0.057 H 249.1°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#021C34
RGBrgb(2, 28, 52)
HSLhsl(209, 93%, 11%)
HSVhsv(209, 96%, 20%)
CMYKcmyk(96.2%, 46.2%, 0%, 79.6%)
CIE-LABlab(9.73, 0.80, -18.64)
CIE-LCHlch(9.73, 18.65, 272.47°)
OKLaboklab(22.16% -0.0204 -0.0533)
OKLCHoklch(22.16% 0.057 249.1)
XYZxyz(1.0599, 1.0912, 3.4029)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C34 #341A02
analogous
#023433 #021C34 #020334
triadic
#021C34 #34021C #1C3402
tetradic
#021C34 #330234 #341A02 #033402
square
#021C34 #330234 #341A02 #033402
split-complementary
#021C34 #340203 #343302
monochromatic
#01101D #01101D #021C34 #043C6F #075BAA

Accessibility & contrast

On white

17.24
#021C34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#021C34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C34
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C34#FFFFFF#000000##FFFFFF
##021C341.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101D35
Deuteranopia (green-blind)
#081934
Tritanopia (blue-blind)
#002225
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021c34;
/* rgb */ color: rgb(2, 28, 52);
/* oklch */ color: oklch(22.2% 0.057 249.1);
Tailwind
colors: {
  custom: {
    50: '#4b576b',
    500: '#021c34',
    950: '#000000',
  },
}
SCSS
$custom: #021c34;
$custom-light: #4b576b;
$custom-dark: #000000;
JSON
{
  "hex": "#021c34",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 52
  },
  "hsl": {
    "h": 208.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2216,
    "c": 0.05705,
    "h": 249.1
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#021C34
secondary
#78471A
accent
#9029FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021C34

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

Preview Lab → · Contrast checker → · Palette generator →

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