#020529#020529

#020529 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.074 H 267.7°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#020529
RGBrgb(2, 5, 41)
HSLhsl(235, 91%, 8%)
HSVhsv(235, 95%, 16%)
CMYKcmyk(95.1%, 87.8%, 0%, 83.9%)
CIE-LABlab(2.54, 8.68, -21.89)
CIE-LCHlch(2.54, 23.55, 291.63°)
OKLaboklab(14.74% -0.003 -0.0743)
OKLCHoklch(14.74% 0.074 267.7)
XYZxyz(0.4794, 0.2815, 2.1265)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020529 #292602
analogous
#021829 #020529 #120229
triadic
#020529 #290205 #052902
tetradic
#020529 #290218 #292602 #022912
square
#020529 #290218 #292602 #022912
split-complementary
#020529 #291202 #182902
monochromatic
#01041D #01041D #020529 #050C63 #08139E

Accessibility & contrast

On white

19.88
#020529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#020529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020529
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020529#FFFFFF#000000##FFFFFF
##0205291.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2A
Deuteranopia (green-blind)
#000728
Tritanopia (blue-blind)
#000F16
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #020529;
/* rgb */ color: rgb(2, 5, 41);
/* oklch */ color: oklch(14.7% 0.074 267.7);
Tailwind
colors: {
  custom: {
    50: '#484963',
    500: '#020529',
    950: '#000000',
  },
}
SCSS
$custom: #020529;
$custom-light: #484963;
$custom-dark: #000000;
JSON
{
  "hex": "#020529",
  "rgb": {
    "r": 2,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 235.385,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14739,
    "c": 0.07432,
    "h": 267.7
  },
  "luminance": 0.00282
}

Semantic roles & 50–950 ramp

primary
#020529
secondary
#6E6819
accent
#EF29FF
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #020529

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

Preview Lab → · Contrast checker → · Palette generator →

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