#2A429D#2A429D

#2A429D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.151 H 268.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2A429D
RGBrgb(42, 66, 157)
HSLhsl(227, 58%, 39%)
HSVhsv(227, 73%, 62%)
CMYKcmyk(73.2%, 58%, 0%, 38.4%)
CIE-LABlab(31.40, 23.48, -52.26)
CIE-LCHlch(31.40, 57.29, 294.20°)
OKLaboklab(41.75% -0.0053 -0.1507)
OKLCHoklch(41.75% 0.151 268)
XYZxyz(8.9868, 6.8221, 32.7349)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A429D #9D852A
analogous
#2A7C9D #2A429D #4C2A9D
triadic
#2A429D #9D2A42 #429D2A
tetradic
#2A429D #9D2A7C #9D852A #2A9D4C
square
#2A429D #9D2A7C #9D852A #2A9D4C
split-complementary
#2A429D #9D4C2A #7C9D2A
monochromatic
#10193C #1D2E6D #2A429D #3A58CA #6A81D7

Accessibility & contrast

On white

8.88
#2A429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A429D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A429D#FFFFFF#000000##FFFFFF
##2A429D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a429d;
/* rgb */ color: rgb(42, 66, 157);
/* oklch */ color: oklch(41.7% 0.151 268.0);
Tailwind
colors: {
  custom: {
    50: '#7476bb',
    500: '#2a429d',
    950: '#000000',
  },
}
SCSS
$custom: #2a429d;
$custom-light: #7476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a429d",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 227.478,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41745,
    "c": 0.15076,
    "h": 268
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#2A429D
secondary
#BEAB65
accent
#C147E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A429D

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

Preview Lab → · Contrast checker → · Palette generator →

#2A429D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva