#021734#021734

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

Color values

HEX#021734
RGBrgb(2, 23, 52)
HSLhsl(215, 93%, 11%)
HSVhsv(215, 96%, 20%)
CMYKcmyk(96.2%, 55.8%, 0%, 79.6%)
CIE-LABlab(7.89, 4.77, -21.58)
CIE-LCHlch(7.89, 22.10, 282.45°)
OKLaboklab(20.73% -0.0156 -0.0621)
OKLCHoklch(20.73% 0.064 255.9)
XYZxyz(0.9510, 0.8735, 3.3666)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021734 #341F02
analogous
#023034 #021734 #060234
triadic
#021734 #340217 #173402
tetradic
#021734 #340230 #341F02 #023406
square
#021734 #340230 #341F02 #023406
split-complementary
#021734 #340602 #303402
monochromatic
#010D1D #010D1D #021734 #04316F #074BAA

Accessibility & contrast

On white

17.88
#021734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021734
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021734#FFFFFF#000000##FFFFFF
##0217341.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021734;
/* rgb */ color: rgb(2, 23, 52);
/* oklch */ color: oklch(20.7% 0.064 255.9);
Tailwind
colors: {
  custom: {
    50: '#4c536c',
    500: '#021734',
    950: '#000000',
  },
}
SCSS
$custom: #021734;
$custom-light: #4c536c;
$custom-dark: #000000;
JSON
{
  "hex": "#021734",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 52
  },
  "hsl": {
    "h": 214.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20728,
    "c": 0.06401,
    "h": 255.9
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#021734
secondary
#78501A
accent
#A529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #021734

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

Preview Lab → · Contrast checker → · Palette generator →

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