#021124#021124

#021124 is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.6% C 0.046 H 252.5°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#021124
RGBrgb(2, 17, 36)
HSLhsl(214, 89%, 7%)
HSVhsv(214, 94%, 14%)
CMYKcmyk(94.4%, 52.8%, 0%, 85.9%)
CIE-LABlab(4.89, 1.21, -14.41)
CIE-LCHlch(4.89, 14.46, 274.80°)
OKLaboklab(17.58% -0.0138 -0.0438)
OKLCHoklch(17.58% 0.046 252.5)
XYZxyz(0.5438, 0.5411, 1.7445)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021124 #241502
analogous
#022224 #021124 #040224
triadic
#021124 #240211 #112402
tetradic
#021124 #240222 #241502 #022404
square
#021124 #240222 #241502 #022404
split-complementary
#021124 #240402 #222402
monochromatic
#020E1D #020E1D #021124 #052C5E #084898

Accessibility & contrast

On white

18.95
#021124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#021124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021124
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021124#FFFFFF#000000##FFFFFF
##0211241.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081225
Deuteranopia (green-blind)
#030F24
Tritanopia (blue-blind)
#001618
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #021124;
/* rgb */ color: rgb(2, 17, 36);
/* oklch */ color: oklch(17.6% 0.046 252.5);
Tailwind
colors: {
  custom: {
    50: '#474f5e',
    500: '#021124',
    950: '#000000',
  },
}
SCSS
$custom: #021124;
$custom-light: #474f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#021124",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 36
  },
  "hsl": {
    "h": 213.529,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17581,
    "c": 0.04592,
    "h": 252.5
  },
  "luminance": 0.00541
}

Semantic roles & 50–950 ramp

primary
#021124
secondary
#6A4618
accent
#A029FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #021124

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

Preview Lab → · Contrast checker → · Palette generator →

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