#021036#021036

#021036 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.078 H 262.7°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#021036
RGBrgb(2, 16, 54)
HSLhsl(224, 93%, 11%)
HSVhsv(224, 96%, 21%)
CMYKcmyk(96.3%, 70.4%, 0%, 78.8%)
CIE-LABlab(5.87, 10.57, -26.30)
CIE-LCHlch(5.87, 28.34, 291.89°)
OKLaboklab(19.08% -0.0099 -0.0772)
OKLCHoklch(19.08% 0.078 262.7)
XYZxyz(0.8759, 0.6497, 3.5686)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021036 #362802
analogous
#022A36 #021036 #0E0236
triadic
#021036 #360210 #103602
tetradic
#021036 #36022A #362802 #02360E
square
#021036 #36022A #362802 #02360E
split-complementary
#021036 #360E02 #2A3602
monochromatic
#01091E #01091E #021036 #042171 #0633AC

Accessibility & contrast

On white

18.58
#021036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#021036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021036
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021036#FFFFFF#000000##FFFFFF
##0210361.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #021036;
/* rgb */ color: rgb(2, 16, 54);
/* oklch */ color: oklch(19.1% 0.078 262.7);
Tailwind
colors: {
  custom: {
    50: '#4c4e6d',
    500: '#021036',
    950: '#000000',
  },
}
SCSS
$custom: #021036;
$custom-light: #4c4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#021036",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 223.846,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19078,
    "c": 0.07789,
    "h": 262.7
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#021036
secondary
#7A601A
accent
#C529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #021036

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

Preview Lab → · Contrast checker → · Palette generator →

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