#060221#060221

#060221 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.2% C 0.067 H 281.6°. Best body text is #FFFFFF at 20.22:1 contrast (WCAG AA passes).

Color values

HEX#060221
RGBrgb(6, 2, 33)
HSLhsl(248, 89%, 7%)
HSVhsv(248, 94%, 13%)
CMYKcmyk(81.8%, 93.9%, 0%, 87.1%)
CIE-LABlab(1.73, 7.73, -16.90)
CIE-LCHlch(1.73, 18.58, 294.60°)
OKLaboklab(13.17% 0.0134 -0.0653)
OKLCHoklch(13.17% 0.067 281.6)
XYZxyz(0.3712, 0.1919, 1.4560)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060221 #1D2102
analogous
#020E21 #060221 #160221
triadic
#060221 #210602 #022106
tetradic
#060221 #21020E #1D2102 #022116
square
#060221 #21020E #1D2102 #022116
split-complementary
#060221 #211602 #0E2102
monochromatic
#05021D #05021D #060221 #10055B #1B0994

Accessibility & contrast

On white

20.22
#060221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#060221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060221
20.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060221#FFFFFF#000000##FFFFFF
##0602211.0020.221.0420.22
#FFFFFF20.221.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000722
Deuteranopia (green-blind)
#000520
Tritanopia (blue-blind)
#000910
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #060221;
/* rgb */ color: rgb(6, 2, 33);
/* oklch */ color: oklch(13.2% 0.067 281.6);
Tailwind
colors: {
  custom: {
    50: '#49475c',
    500: '#060221',
    950: '#000000',
  },
}
SCSS
$custom: #060221;
$custom-light: #49475c;
$custom-dark: #000000;
JSON
{
  "hex": "#060221",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 247.742,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.13173,
    "c": 0.06662,
    "h": 281.6
  },
  "luminance": 0.00192
}

Semantic roles & 50–950 ramp

primary
#060221
secondary
#5D6718
accent
#FF29E3
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #060221

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

Preview Lab → · Contrast checker → · Palette generator →

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