#2A429F#2A429F

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

Color values

HEX#2A429F
RGBrgb(42, 66, 159)
HSLhsl(228, 58%, 39%)
HSVhsv(228, 74%, 62%)
CMYKcmyk(73.6%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.56, 24.24, -53.21)
CIE-LCHlch(31.56, 58.47, 294.49°)
OKLaboklab(41.91% -0.0052 -0.1535)
OKLCHoklch(41.91% 0.154 268)
XYZxyz(9.1589, 6.8909, 33.6416)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A429F #9F872A
analogous
#2A7D9F #2A429F #4C2A9F
triadic
#2A429F #9F2A42 #429F2A
tetradic
#2A429F #9F2A7D #9F872A #2A9F4C
square
#2A429F #9F2A7D #9F872A #2A9F4C
split-complementary
#2A429F #9F4C2A #7D9F2A
monochromatic
#101A3E #1D2E6F #2A429F #3B59CB #6B82D8

Accessibility & contrast

On white

8.83
#2A429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A429F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A429F#FFFFFF#000000##FFFFFF
##2A429F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a429f;
/* rgb */ color: rgb(42, 66, 159);
/* oklch */ color: oklch(41.9% 0.154 268.0);
Tailwind
colors: {
  custom: {
    50: '#7476bc',
    500: '#2a429f',
    950: '#000000',
  },
}
SCSS
$custom: #2a429f;
$custom-light: #7476bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a429f",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 227.692,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.15356,
    "h": 268
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#2A429F
secondary
#BFAC66
accent
#C246E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A429F

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

Preview Lab → · Contrast checker → · Palette generator →

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