#021730#021730

#021730 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.4% C 0.057 H 253.2°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#021730
RGBrgb(2, 23, 48)
HSLhsl(213, 92%, 10%)
HSVhsv(213, 96%, 19%)
CMYKcmyk(95.8%, 52.1%, 0%, 81.2%)
CIE-LABlab(7.58, 2.75, -19.16)
CIE-LCHlch(7.58, 19.35, 278.16°)
OKLaboklab(20.38% -0.0166 -0.055)
OKLCHoklch(20.38% 0.057 253.2)
XYZxyz(0.8647, 0.8390, 2.9121)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021730 #301B02
analogous
#022E30 #021730 #040230
triadic
#021730 #300217 #173002
tetradic
#021730 #30022E #301B02 #023004
square
#021730 #30022E #301B02 #023004
split-complementary
#021730 #300402 #2E3002
monochromatic
#010E1D #010E1D #021730 #04336B #074FA6

Accessibility & contrast

On white

17.98
#021730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021730
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021730#FFFFFF#000000##FFFFFF
##0217301.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1931
Deuteranopia (green-blind)
#031530
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021730;
/* rgb */ color: rgb(2, 23, 48);
/* oklch */ color: oklch(20.4% 0.057 253.2);
Tailwind
colors: {
  custom: {
    50: '#4a5368',
    500: '#021730',
    950: '#000000',
  },
}
SCSS
$custom: #021730;
$custom-light: #4a5368;
$custom-dark: #000000;
JSON
{
  "hex": "#021730",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 48
  },
  "hsl": {
    "h": 212.609,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20378,
    "c": 0.05743,
    "h": 253.2
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#021730
secondary
#754B19
accent
#9D29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021730

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

Preview Lab → · Contrast checker → · Palette generator →

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