#021736#021736

#021736 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.067 H 257.0°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#021736
RGBrgb(2, 23, 54)
HSLhsl(216, 93%, 11%)
HSVhsv(216, 96%, 21%)
CMYKcmyk(96.3%, 57.4%, 0%, 78.8%)
CIE-LABlab(8.06, 5.76, -22.77)
CIE-LCHlch(8.06, 23.49, 284.20°)
OKLaboklab(20.91% -0.0152 -0.0656)
OKLCHoklch(20.91% 0.067 257)
XYZxyz(0.9970, 0.8919, 3.6089)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021736 #362102
analogous
#023136 #021736 #070236
triadic
#021736 #360217 #173602
tetradic
#021736 #360231 #362102 #023607
square
#021736 #360231 #362102 #023607
split-complementary
#021736 #360702 #313602
monochromatic
#010D1E #010D1E #021736 #043071 #0649AC

Accessibility & contrast

On white

17.82
#021736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021736
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021736#FFFFFF#000000##FFFFFF
##0217361.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021736;
/* rgb */ color: rgb(2, 23, 54);
/* oklch */ color: oklch(20.9% 0.067 257.0);
Tailwind
colors: {
  custom: {
    50: '#4c536d',
    500: '#021736',
    950: '#000000',
  },
}
SCSS
$custom: #021736;
$custom-light: #4c536d;
$custom-dark: #000000;
JSON
{
  "hex": "#021736",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 215.769,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2091,
    "c": 0.0673,
    "h": 257
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#021736
secondary
#7A531A
accent
#A829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #021736

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

Preview Lab → · Contrast checker → · Palette generator →

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