#021033#021033

#021033 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.073 H 262.0°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#021033
RGBrgb(2, 16, 51)
HSLhsl(223, 92%, 10%)
HSVhsv(223, 96%, 20%)
CMYKcmyk(96.1%, 68.6%, 0%, 80%)
CIE-LABlab(5.62, 8.85, -24.50)
CIE-LCHlch(5.62, 26.05, 289.87°)
OKLaboklab(18.75% -0.0101 -0.0723)
OKLCHoklch(18.75% 0.073 262)
XYZxyz(0.8077, 0.6224, 3.2089)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021033 #332502
analogous
#022833 #021033 #0C0233
triadic
#021033 #330210 #103302
tetradic
#021033 #330228 #332502 #02330C
square
#021033 #330228 #332502 #02330C
split-complementary
#021033 #330C02 #283302
monochromatic
#01091D #01091D #021033 #04226E #0735A9

Accessibility & contrast

On white

18.67
#021033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#021033 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021033
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021033#FFFFFF#000000##FFFFFF
##0210331.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#001032
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #021033;
/* rgb */ color: rgb(2, 16, 51);
/* oklch */ color: oklch(18.8% 0.073 262.0);
Tailwind
colors: {
  custom: {
    50: '#4b4e6b',
    500: '#021033',
    950: '#000000',
  },
}
SCSS
$custom: #021033;
$custom-light: #4b4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#021033",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 51
  },
  "hsl": {
    "h": 222.857,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18751,
    "c": 0.07298,
    "h": 262
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#021033
secondary
#775C1A
accent
#C229FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #021033

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

Preview Lab → · Contrast checker → · Palette generator →

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