#020729#020729

#020729 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.071 H 266.4°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#020729
RGBrgb(2, 7, 41)
HSLhsl(232, 91%, 8%)
HSVhsv(232, 95%, 16%)
CMYKcmyk(95.1%, 82.9%, 0%, 83.9%)
CIE-LABlab(2.93, 7.88, -21.27)
CIE-LCHlch(2.93, 22.69, 290.32°)
OKLaboklab(15.32% -0.0044 -0.0704)
OKLCHoklch(15.32% 0.071 266.4)
XYZxyz(0.5011, 0.3249, 2.1337)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020729 #292402
analogous
#021A29 #020729 #100229
triadic
#020729 #290207 #072902
tetradic
#020729 #29021A #292402 #022910
square
#020729 #29021A #292402 #022910
split-complementary
#020729 #291002 #1A2902
monochromatic
#01051D #01051D #020729 #051163 #081B9E

Accessibility & contrast

On white

19.72
#020729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#020729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020729
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020729#FFFFFF#000000##FFFFFF
##0207291.0019.721.0719.72
#FFFFFF19.721.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2A
Deuteranopia (green-blind)
#000928
Tritanopia (blue-blind)
#001016
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #020729;
/* rgb */ color: rgb(2, 7, 41);
/* oklch */ color: oklch(15.3% 0.071 266.4);
Tailwind
colors: {
  custom: {
    50: '#484a63',
    500: '#020729',
    950: '#000000',
  },
}
SCSS
$custom: #020729;
$custom-light: #484a63;
$custom-dark: #000000;
JSON
{
  "hex": "#020729",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 232.308,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1532,
    "c": 0.07055,
    "h": 266.4
  },
  "luminance": 0.00325
}

Semantic roles & 50–950 ramp

primary
#020729
secondary
#6E6319
accent
#E429FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #020729

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

Preview Lab → · Contrast checker → · Palette generator →

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