#021835#021835

#021835 is a very dark, moderate cyan. Relative luminance 0.009; OKLCH L 21.1% C 0.064 H 255.3°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#021835
RGBrgb(2, 24, 53)
HSLhsl(214, 93%, 11%)
HSVhsv(214, 96%, 21%)
CMYKcmyk(96.2%, 54.7%, 0%, 79.2%)
CIE-LABlab(8.33, 4.46, -21.60)
CIE-LCHlch(8.33, 22.05, 281.66°)
OKLaboklab(21.1% -0.0163 -0.0621)
OKLCHoklch(21.1% 0.064 255.3)
XYZxyz(0.9940, 0.9231, 3.4933)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021835 #351F02
analogous
#023135 #021835 #060235
triadic
#021835 #350218 #183502
tetradic
#021835 #350231 #351F02 #023506
square
#021835 #350231 #351F02 #023506
split-complementary
#021835 #350602 #313502
monochromatic
#010D1D #010D1D #021835 #043370 #064DAB

Accessibility & contrast

On white

17.73
#021835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021835
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021835#FFFFFF#000000##FFFFFF
##0218351.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B36
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021835;
/* rgb */ color: rgb(2, 24, 53);
/* oklch */ color: oklch(21.1% 0.064 255.3);
Tailwind
colors: {
  custom: {
    50: '#4c546c',
    500: '#021835',
    950: '#000000',
  },
}
SCSS
$custom: #021835;
$custom-light: #4c546c;
$custom-dark: #000000;
JSON
{
  "hex": "#021835",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 214.118,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21097,
    "c": 0.06419,
    "h": 255.3
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#021835
secondary
#79501A
accent
#A329FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #021835

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

Preview Lab → · Contrast checker → · Palette generator →

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