#021530#021530

#021530 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 19.8% C 0.060 H 255.9°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#021530
RGBrgb(2, 21, 48)
HSLhsl(215, 92%, 10%)
HSVhsv(215, 96%, 19%)
CMYKcmyk(95.8%, 56.2%, 0%, 81.2%)
CIE-LABlab(6.89, 4.17, -20.26)
CIE-LCHlch(6.89, 20.69, 281.63°)
OKLaboklab(19.81% -0.0147 -0.0585)
OKLCHoklch(19.81% 0.06 255.9)
XYZxyz(0.8265, 0.7625, 2.8994)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021530 #301D02
analogous
#022C30 #021530 #060230
triadic
#021530 #300215 #153002
tetradic
#021530 #30022C #301D02 #023006
square
#021530 #30022C #301D02 #023006
split-complementary
#021530 #300602 #2C3002
monochromatic
#010D1D #010D1D #021530 #042F6B #0748A6

Accessibility & contrast

On white

18.22
#021530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021530
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021530#FFFFFF#000000##FFFFFF
##0215301.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061831
Deuteranopia (green-blind)
#00132F
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021530;
/* rgb */ color: rgb(2, 21, 48);
/* oklch */ color: oklch(19.8% 0.060 255.9);
Tailwind
colors: {
  custom: {
    50: '#4a5168',
    500: '#021530',
    950: '#000000',
  },
}
SCSS
$custom: #021530;
$custom-light: #4a5168;
$custom-dark: #000000;
JSON
{
  "hex": "#021530",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 48
  },
  "hsl": {
    "h": 215.217,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19805,
    "c": 0.06035,
    "h": 255.9
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#021530
secondary
#754F19
accent
#A729FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021530

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

Preview Lab → · Contrast checker → · Palette generator →

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