#021029#021029

#021029 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.7% C 0.056 H 258.1°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#021029
RGBrgb(2, 16, 41)
HSLhsl(218, 91%, 8%)
HSVhsv(218, 95%, 16%)
CMYKcmyk(95.1%, 61%, 0%, 83.9%)
CIE-LABlab(4.91, 3.84, -18.17)
CIE-LCHlch(4.91, 18.58, 281.94°)
OKLaboklab(17.74% -0.0115 -0.0548)
OKLCHoklch(17.74% 0.056 258.1)
XYZxyz(0.6104, 0.5435, 2.1701)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021029 #291B02
analogous
#022329 #021029 #070229
triadic
#021029 #290210 #102902
tetradic
#021029 #290223 #291B02 #022907
square
#021029 #290223 #291B02 #022907
split-complementary
#021029 #290702 #232902
monochromatic
#010B1D #010B1D #021029 #052763 #083E9E

Accessibility & contrast

On white

18.94
#021029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#021029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021029
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021029#FFFFFF#000000##FFFFFF
##0210291.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132A
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #021029;
/* rgb */ color: rgb(2, 16, 41);
/* oklch */ color: oklch(17.7% 0.056 258.1);
Tailwind
colors: {
  custom: {
    50: '#484e63',
    500: '#021029',
    950: '#000000',
  },
}
SCSS
$custom: #021029;
$custom-light: #484e63;
$custom-dark: #000000;
JSON
{
  "hex": "#021029",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 41
  },
  "hsl": {
    "h": 218.462,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17737,
    "c": 0.05605,
    "h": 258.1
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#021029
secondary
#6E4F19
accent
#B229FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #021029

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

Preview Lab → · Contrast checker → · Palette generator →

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