#020929#020929

#020929 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 15.9% C 0.067 H 265.1°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#020929
RGBrgb(2, 9, 41)
HSLhsl(229, 91%, 8%)
HSVhsv(229, 95%, 16%)
CMYKcmyk(95.1%, 78%, 0%, 83.9%)
CIE-LABlab(3.33, 7.08, -20.66)
CIE-LCHlch(3.33, 21.84, 288.91°)
OKLaboklab(15.86% -0.0058 -0.0669)
OKLCHoklch(15.86% 0.067 265.1)
XYZxyz(0.5228, 0.3683, 2.1409)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020929 #292202
analogous
#021C29 #020929 #0E0229
triadic
#020929 #290209 #092902
tetradic
#020929 #29021C #292202 #02290E
square
#020929 #29021C #292202 #02290E
split-complementary
#020929 #290E02 #1C2902
monochromatic
#01061D #01061D #020929 #051663 #08239E

Accessibility & contrast

On white

19.56
#020929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020929
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020929#FFFFFF#000000##FFFFFF
##0209291.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2A
Deuteranopia (green-blind)
#000A28
Tritanopia (blue-blind)
#001117
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #020929;
/* rgb */ color: rgb(2, 9, 41);
/* oklch */ color: oklch(15.9% 0.067 265.1);
Tailwind
colors: {
  custom: {
    50: '#484b63',
    500: '#020929',
    950: '#000000',
  },
}
SCSS
$custom: #020929;
$custom-light: #484b63;
$custom-dark: #000000;
JSON
{
  "hex": "#020929",
  "rgb": {
    "r": 2,
    "g": 9,
    "b": 41
  },
  "hsl": {
    "h": 229.231,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1586,
    "c": 0.06711,
    "h": 265.1
  },
  "luminance": 0.00368
}

Semantic roles & 50–950 ramp

primary
#020929
secondary
#6E5F19
accent
#D929FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #020929

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

Preview Lab → · Contrast checker → · Palette generator →

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