#2A429E#2A429E

#2A429E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.152 H 268.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2A429E
RGBrgb(42, 66, 158)
HSLhsl(228, 58%, 39%)
HSVhsv(228, 73%, 62%)
CMYKcmyk(73.4%, 58.2%, 0%, 38%)
CIE-LABlab(31.48, 23.86, -52.74)
CIE-LCHlch(31.48, 57.88, 294.35°)
OKLaboklab(41.83% -0.0053 -0.1521)
OKLCHoklch(41.83% 0.152 268)
XYZxyz(9.0725, 6.8563, 33.1864)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A429E #9E862A
analogous
#2A7C9E #2A429E #4C2A9E
triadic
#2A429E #9E2A42 #429E2A
tetradic
#2A429E #9E2A7C #9E862A #2A9E4C
square
#2A429E #9E2A7C #9E862A #2A9E4C
split-complementary
#2A429E #9E4C2A #7C9E2A
monochromatic
#101A3D #1D2E6E #2A429E #3A58CB #6B81D8

Accessibility & contrast

On white

8.86
#2A429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A429E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A429E#FFFFFF#000000##FFFFFF
##2A429E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a429e;
/* rgb */ color: rgb(42, 66, 158);
/* oklch */ color: oklch(41.8% 0.152 268.0);
Tailwind
colors: {
  custom: {
    50: '#7476bb',
    500: '#2a429e',
    950: '#000000',
  },
}
SCSS
$custom: #2a429e;
$custom-light: #7476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a429e",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 227.586,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.15216,
    "h": 268
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A429E

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

Preview Lab → · Contrast checker → · Palette generator →

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