#021035#021035

#021035 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.076 H 262.5°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#021035
RGBrgb(2, 16, 53)
HSLhsl(224, 93%, 11%)
HSVhsv(224, 96%, 21%)
CMYKcmyk(96.2%, 69.8%, 0%, 79.2%)
CIE-LABlab(5.78, 9.99, -25.70)
CIE-LCHlch(5.78, 27.58, 291.25°)
OKLaboklab(18.97% -0.01 -0.0756)
OKLCHoklch(18.97% 0.076 262.5)
XYZxyz(0.8527, 0.6404, 3.4461)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021035 #352702
analogous
#022935 #021035 #0D0235
triadic
#021035 #350210 #103502
tetradic
#021035 #350229 #352702 #02350D
square
#021035 #350229 #352702 #02350D
split-complementary
#021035 #350D02 #293502
monochromatic
#01091D #01091D #021035 #042270 #0634AB

Accessibility & contrast

On white

18.61
#021035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021035
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021035#FFFFFF#000000##FFFFFF
##0210351.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021035;
/* rgb */ color: rgb(2, 16, 53);
/* oklch */ color: oklch(19.0% 0.076 262.5);
Tailwind
colors: {
  custom: {
    50: '#4c4e6d',
    500: '#021035',
    950: '#000000',
  },
}
SCSS
$custom: #021035;
$custom-light: #4c4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#021035",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 223.529,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18968,
    "c": 0.07626,
    "h": 262.5
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#021035
secondary
#795F1A
accent
#C429FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #021035

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

Preview Lab → · Contrast checker → · Palette generator →

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