#020429#020429

#020429 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.4% C 0.076 H 268.2°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#020429
RGBrgb(2, 4, 41)
HSLhsl(237, 91%, 8%)
HSVhsv(237, 95%, 16%)
CMYKcmyk(95.1%, 90.2%, 0%, 83.9%)
CIE-LABlab(2.35, 9.08, -22.20)
CIE-LCHlch(2.35, 23.98, 292.25°)
OKLaboklab(14.43% -0.0024 -0.0763)
OKLCHoklch(14.43% 0.076 268.2)
XYZxyz(0.4686, 0.2598, 2.1228)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020429 #292702
analogous
#021729 #020429 #130229
triadic
#020429 #290204 #042902
tetradic
#020429 #290217 #292702 #022913
square
#020429 #290217 #292702 #022913
split-complementary
#020429 #291302 #172902
monochromatic
#01031D #01031D #020429 #050A63 #080F9E

Accessibility & contrast

On white

19.96
#020429 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#020429 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020429
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020429#FFFFFF#000000##FFFFFF
##0204291.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #020429;
/* rgb */ color: rgb(2, 4, 41);
/* oklch */ color: oklch(14.4% 0.076 268.2);
Tailwind
colors: {
  custom: {
    50: '#484863',
    500: '#020429',
    950: '#000000',
  },
}
SCSS
$custom: #020429;
$custom-light: #484863;
$custom-dark: #000000;
JSON
{
  "hex": "#020429",
  "rgb": {
    "r": 2,
    "g": 4,
    "b": 41
  },
  "hsl": {
    "h": 236.923,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1443,
    "c": 0.07637,
    "h": 268.2
  },
  "luminance": 0.0026
}

Semantic roles & 50–950 ramp

primary
#020429
secondary
#6E6A19
accent
#F429FF
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #020429

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

Preview Lab → · Contrast checker → · Palette generator →

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