#021025#021025

#021025 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.4% C 0.049 H 255.3°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#021025
RGBrgb(2, 16, 37)
HSLhsl(216, 90%, 8%)
HSVhsv(216, 95%, 15%)
CMYKcmyk(94.6%, 56.8%, 0%, 85.5%)
CIE-LABlab(4.67, 2.16, -15.51)
CIE-LCHlch(4.67, 15.66, 277.93°)
OKLaboklab(17.37% -0.0125 -0.0475)
OKLCHoklch(17.37% 0.049 255.3)
XYZxyz(0.5441, 0.5170, 1.8210)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021025 #251702
analogous
#022125 #021025 #050225
triadic
#021025 #250210 #102502
tetradic
#021025 #250221 #251702 #022505
square
#021025 #250221 #251702 #022505
split-complementary
#021025 #250502 #212502
monochromatic
#020D1D #020D1D #021025 #05295F #084299

Accessibility & contrast

On white

19.03
#021025 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021025
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021025#FFFFFF#000000##FFFFFF
##0210251.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061226
Deuteranopia (green-blind)
#020E25
Tritanopia (blue-blind)
#001518
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #021025;
/* rgb */ color: rgb(2, 16, 37);
/* oklch */ color: oklch(17.4% 0.049 255.3);
Tailwind
colors: {
  custom: {
    50: '#474e5f',
    500: '#021025',
    950: '#000000',
  },
}
SCSS
$custom: #021025;
$custom-light: #474e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#021025",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 37
  },
  "hsl": {
    "h": 216,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17368,
    "c": 0.04911,
    "h": 255.3
  },
  "luminance": 0.00517
}

Semantic roles & 50–950 ramp

primary
#021025
secondary
#6A4A18
accent
#A929FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #021025

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

Preview Lab → · Contrast checker → · Palette generator →

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