#021026#021026

#021026 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.5% C 0.051 H 256.1°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#021026
RGBrgb(2, 16, 38)
HSLhsl(217, 90%, 8%)
HSVhsv(217, 95%, 15%)
CMYKcmyk(94.7%, 57.9%, 0%, 85.1%)
CIE-LABlab(4.73, 2.56, -16.18)
CIE-LCHlch(4.73, 16.38, 278.99°)
OKLaboklab(17.46% -0.0122 -0.0494)
OKLCHoklch(17.46% 0.051 256.1)
XYZxyz(0.5600, 0.5234, 1.9048)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021026 #261802
analogous
#022226 #021026 #060226
triadic
#021026 #260210 #102602
tetradic
#021026 #260222 #261802 #022606
square
#021026 #260222 #261802 #022606
split-complementary
#021026 #260602 #222602
monochromatic
#020C1D #020C1D #021026 #052860 #08419A

Accessibility & contrast

On white

19.01
#021026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#021026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021026
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021026#FFFFFF#000000##FFFFFF
##0210261.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051227
Deuteranopia (green-blind)
#010E26
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #021026;
/* rgb */ color: rgb(2, 16, 38);
/* oklch */ color: oklch(17.5% 0.051 256.1);
Tailwind
colors: {
  custom: {
    50: '#474e60',
    500: '#021026',
    950: '#000000',
  },
}
SCSS
$custom: #021026;
$custom-light: #474e60;
$custom-dark: #000000;
JSON
{
  "hex": "#021026",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 38
  },
  "hsl": {
    "h": 216.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17458,
    "c": 0.05085,
    "h": 256.1
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#021026
secondary
#6B4B18
accent
#AC29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #021026

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

Preview Lab → · Contrast checker → · Palette generator →

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