#021136#021136

#021136 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.076 H 262.0°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#021136
RGBrgb(2, 17, 54)
HSLhsl(223, 93%, 11%)
HSVhsv(223, 96%, 21%)
CMYKcmyk(96.3%, 68.5%, 0%, 78.8%)
CIE-LABlab(6.14, 9.99, -25.86)
CIE-LCHlch(6.14, 27.72, 291.12°)
OKLaboklab(19.33% -0.0106 -0.0756)
OKLCHoklch(19.33% 0.076 262)
XYZxyz(0.8911, 0.6800, 3.5736)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021136 #362702
analogous
#022B36 #021136 #0D0236
triadic
#021136 #360211 #113602
tetradic
#021136 #36022B #362702 #02360D
square
#021136 #36022B #362702 #02360D
split-complementary
#021136 #360D02 #2B3602
monochromatic
#01091E #01091E #021136 #042471 #0636AC

Accessibility & contrast

On white

18.49
#021136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#021136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021136
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021136#FFFFFF#000000##FFFFFF
##0211361.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021136;
/* rgb */ color: rgb(2, 17, 54);
/* oklch */ color: oklch(19.3% 0.076 262.0);
Tailwind
colors: {
  custom: {
    50: '#4c4e6d',
    500: '#021136',
    950: '#000000',
  },
}
SCSS
$custom: #021136;
$custom-light: #4c4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#021136",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 222.692,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19326,
    "c": 0.07638,
    "h": 262
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#021136
secondary
#7A5E1A
accent
#C129FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #021136

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

Preview Lab → · Contrast checker → · Palette generator →

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