#2A429B#2A429B

#2A429B is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.148 H 267.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2A429B
RGBrgb(42, 66, 155)
HSLhsl(227, 57%, 39%)
HSVhsv(227, 73%, 61%)
CMYKcmyk(72.9%, 57.4%, 0%, 39.2%)
CIE-LABlab(31.24, 22.72, -51.30)
CIE-LCHlch(31.24, 56.11, 293.89°)
OKLaboklab(41.58% -0.0054 -0.1479)
OKLCHoklch(41.58% 0.148 267.9)
XYZxyz(8.8174, 6.7543, 31.8430)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A429B #9B832A
analogous
#2A7A9B #2A429B #4A2A9B
triadic
#2A429B #9B2A42 #429B2A
tetradic
#2A429B #9B2A7A #9B832A #2A9B4A
square
#2A429B #9B2A7A #9B832A #2A9B4A
split-complementary
#2A429B #9B4A2A #7A9B2A
monochromatic
#10193B #1D2D6B #2A429B #3958C9 #6980D6

Accessibility & contrast

On white

8.93
#2A429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A429B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A429B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A429B#FFFFFF#000000##FFFFFF
##2A429B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a429b;
/* rgb */ color: rgb(42, 66, 155);
/* oklch */ color: oklch(41.6% 0.148 267.9);
Tailwind
colors: {
  custom: {
    50: '#7376b9',
    500: '#2a429b',
    950: '#000000',
  },
}
SCSS
$custom: #2a429b;
$custom-light: #7376b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a429b",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 227.257,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.14796,
    "h": 267.9
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#2A429B
secondary
#BDAA64
accent
#C047E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A429B

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

Preview Lab → · Contrast checker → · Palette generator →

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