#030221#030221

#030221 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.7% C 0.068 H 273.7°. Best body text is #FFFFFF at 20.30:1 contrast (WCAG AA passes).

Color values

HEX#030221
RGBrgb(3, 2, 33)
HSLhsl(242, 89%, 7%)
HSVhsv(242, 94%, 13%)
CMYKcmyk(90.9%, 93.9%, 0%, 87.1%)
CIE-LABlab(1.56, 6.95, -17.18)
CIE-LCHlch(1.56, 18.53, 292.04°)
OKLaboklab(12.7% 0.0044 -0.0679)
OKLCHoklch(12.7% 0.068 273.7)
XYZxyz(0.3337, 0.1725, 1.4543)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030221 #202102
analogous
#021121 #030221 #130221
triadic
#030221 #210302 #022103
tetradic
#030221 #210211 #202102 #022113
square
#030221 #210211 #202102 #022113
split-complementary
#030221 #211302 #112102
monochromatic
#03021D #03021D #030221 #08055B #0D0994

Accessibility & contrast

On white

20.30
#030221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#030221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030221
20.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030221#FFFFFF#000000##FFFFFF
##0302211.0020.301.0320.30
#FFFFFF20.301.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.301.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: #030221;
/* rgb */ color: rgb(3, 2, 33);
/* oklch */ color: oklch(12.7% 0.068 273.7);
Tailwind
colors: {
  custom: {
    50: '#47485c',
    500: '#030221',
    950: '#000000',
  },
}
SCSS
$custom: #030221;
$custom-light: #47485c;
$custom-dark: #000000;
JSON
{
  "hex": "#030221",
  "rgb": {
    "r": 3,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 241.935,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.12696,
    "c": 0.06802,
    "h": 273.7
  },
  "luminance": 0.00173
}

Semantic roles & 50–950 ramp

primary
#030221
secondary
#646718
accent
#FF29F8
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000004
muted
#777779

Preview Lab

Preview with #030221

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

Preview Lab → · Contrast checker → · Palette generator →

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