#021829#021829

#021829 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.1% C 0.045 H 243.7°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#021829
RGBrgb(2, 24, 41)
HSLhsl(206, 91%, 8%)
HSVhsv(206, 95%, 16%)
CMYKcmyk(95.1%, 41.5%, 0%, 83.9%)
CIE-LABlab(7.46, -1.37, -14.16)
CIE-LCHlch(7.46, 14.23, 264.47°)
OKLaboklab(20.12% -0.02 -0.0403)
OKLCHoklch(20.12% 0.045 243.7)
XYZxyz(0.7518, 0.8262, 2.2172)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021829 #291302
analogous
#022926 #021829 #020429
triadic
#021829 #290218 #182902
tetradic
#021829 #260229 #291302 #042902
square
#021829 #260229 #291302 #042902
split-complementary
#021829 #290204 #292602
monochromatic
#01111D #01111D #021829 #053A63 #085C9E

Accessibility & contrast

On white

18.02
#021829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021829
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021829#FFFFFF#000000##FFFFFF
##0218291.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192A
Deuteranopia (green-blind)
#0A1529
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021829;
/* rgb */ color: rgb(2, 24, 41);
/* oklch */ color: oklch(20.1% 0.045 243.7);
Tailwind
colors: {
  custom: {
    50: '#485462',
    500: '#021829',
    950: '#000000',
  },
}
SCSS
$custom: #021829;
$custom-light: #485462;
$custom-dark: #000000;
JSON
{
  "hex": "#021829",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 41
  },
  "hsl": {
    "h": 206.154,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.20121,
    "c": 0.045,
    "h": 243.7
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#021829
secondary
#6E3E19
accent
#8629FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #021829

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

Preview Lab → · Contrast checker → · Palette generator →

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