#021B36#021B36

#021B36 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.0% C 0.062 H 252.2°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#021B36
RGBrgb(2, 27, 54)
HSLhsl(211, 93%, 11%)
HSVhsv(211, 96%, 21%)
CMYKcmyk(96.3%, 50%, 0%, 78.8%)
CIE-LABlab(9.51, 2.56, -20.44)
CIE-LCHlch(9.51, 20.60, 277.14°)
OKLaboklab(22.03% -0.0188 -0.0586)
OKLCHoklch(22.03% 0.062 252.2)
XYZxyz(1.0826, 1.0630, 3.6374)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B36 #361D02
analogous
#023536 #021B36 #030236
triadic
#021B36 #36021B #1B3602
tetradic
#021B36 #360235 #361D02 #023603
square
#021B36 #360235 #361D02 #023603
split-complementary
#021B36 #360302 #353602
monochromatic
#010F1E #010F1E #021B36 #043971 #0656AC

Accessibility & contrast

On white

17.32
#021B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B36
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B36#FFFFFF#000000##FFFFFF
##021B361.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D37
Deuteranopia (green-blind)
#041835
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021b36;
/* rgb */ color: rgb(2, 27, 54);
/* oklch */ color: oklch(22.0% 0.062 252.2);
Tailwind
colors: {
  custom: {
    50: '#4c566d',
    500: '#021b36',
    950: '#000000',
  },
}
SCSS
$custom: #021b36;
$custom-light: #4c566d;
$custom-dark: #000000;
JSON
{
  "hex": "#021b36",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 211.154,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22032,
    "c": 0.06155,
    "h": 252.2
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#021B36
secondary
#7A4C1A
accent
#9829FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010307
muted
#77787A

Preview Lab

Preview with #021B36

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

Preview Lab → · Contrast checker → · Palette generator →

#021B36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva