#021B29#021B29

#021B29 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.1% C 0.042 H 236.1°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#021B29
RGBrgb(2, 27, 41)
HSLhsl(202, 91%, 8%)
HSVhsv(202, 95%, 16%)
CMYKcmyk(95.1%, 34.1%, 0%, 83.9%)
CIE-LABlab(8.63, -3.71, -12.33)
CIE-LCHlch(8.63, 12.88, 253.24°)
OKLaboklab(21.05% -0.0234 -0.0349)
OKLCHoklch(21.05% 0.042 236.1)
XYZxyz(0.8170, 0.9568, 2.2390)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B29 #291002
analogous
#022923 #021B29 #020729
triadic
#021B29 #29021B #1B2902
tetradic
#021B29 #230229 #291002 #072902
square
#021B29 #230229 #291002 #072902
split-complementary
#021B29 #290207 #292302
monochromatic
#01131D #01131D #021B29 #054163 #08689E

Accessibility & contrast

On white

17.63
#021B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#021B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B29
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B29#FFFFFF#000000##FFFFFF
##021B291.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2A
Deuteranopia (green-blind)
#0F1729
Tritanopia (blue-blind)
#001F20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021b29;
/* rgb */ color: rgb(2, 27, 41);
/* oklch */ color: oklch(21.1% 0.042 236.1);
Tailwind
colors: {
  custom: {
    50: '#485762',
    500: '#021b29',
    950: '#000000',
  },
}
SCSS
$custom: #021b29;
$custom-light: #485762;
$custom-dark: #000000;
JSON
{
  "hex": "#021b29",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 201.538,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.21053,
    "c": 0.04203,
    "h": 236.1
  },
  "luminance": 0.00957
}

Semantic roles & 50–950 ramp

primary
#021B29
secondary
#6E3719
accent
#7629FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021B29

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

Preview Lab → · Contrast checker → · Palette generator →

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