#020129#020129

#020129 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.4% C 0.083 H 269.4°. Best body text is #FFFFFF at 20.21:1 contrast (WCAG AA passes).

Color values

HEX#020129
RGBrgb(2, 1, 41)
HSLhsl(242, 95%, 8%)
HSVhsv(242, 98%, 16%)
CMYKcmyk(95.1%, 97.6%, 0%, 83.9%)
CIE-LABlab(1.76, 10.28, -23.12)
CIE-LCHlch(1.76, 25.30, 293.97°)
OKLaboklab(13.41% -0.0009 -0.0832)
OKLCHoklch(13.41% 0.083 269.4)
XYZxyz(0.4360, 0.1947, 2.1120)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020129 #282901
analogous
#011429 #020129 #160129
triadic
#020129 #290201 #012902
tetradic
#020129 #290114 #282901 #012916
square
#020129 #290114 #282901 #012916
split-complementary
#020129 #291601 #142901
monochromatic
#01011E #01011E #020129 #050265 #0804A0

Accessibility & contrast

On white

20.21
#020129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#020129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020129
20.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020129#FFFFFF#000000##FFFFFF
##0201291.0020.211.0420.21
#FFFFFF20.211.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00082A
Deuteranopia (green-blind)
#000528
Tritanopia (blue-blind)
#000B14
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #020129;
/* rgb */ color: rgb(2, 1, 41);
/* oklch */ color: oklch(13.4% 0.083 269.4);
Tailwind
colors: {
  custom: {
    50: '#474763',
    500: '#020129',
    950: '#000000',
  },
}
SCSS
$custom: #020129;
$custom-light: #474763;
$custom-dark: #000000;
JSON
{
  "hex": "#020129",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 241.5,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.13413,
    "c": 0.08318,
    "h": 269.4
  },
  "luminance": 0.00195
}

Semantic roles & 50–950 ramp

primary
#020129
secondary
#6D6F16
accent
#FF29FA
background
#F4F3F5
surface
#E6E5EA
border
#C2C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #020129

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

Preview Lab → · Contrast checker → · Palette generator →

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