#2A329B#2A329B

#2A329B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.168 H 272.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2A329B
RGBrgb(42, 50, 155)
HSLhsl(236, 57%, 39%)
HSVhsv(236, 73%, 61%)
CMYKcmyk(72.9%, 67.7%, 0%, 39.2%)
CIE-LABlab(27.13, 33.32, -58.02)
CIE-LCHlch(27.13, 66.91, 299.87°)
OKLaboklab(38.54% 0.0064 -0.1677)
OKLCHoklch(38.54% 0.168 272.2)
XYZxyz(8.0098, 5.1392, 31.5738)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A329B #9B932A
analogous
#2A6A9B #2A329B #5A2A9B
triadic
#2A329B #9B2A32 #329B2A
tetradic
#2A329B #9B2A6A #9B932A #2A9B5A
square
#2A329B #9B2A6A #9B932A #2A9B5A
split-complementary
#2A329B #9B5A2A #6A9B2A
monochromatic
#10133B #1D226B #2A329B #3943C9 #6971D6

Accessibility & contrast

On white

10.36
#2A329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A329B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A329B#FFFFFF#000000##FFFFFF
##2A329B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a329b;
/* rgb */ color: rgb(42, 50, 155);
/* oklch */ color: oklch(38.5% 0.168 272.2);
Tailwind
colors: {
  custom: {
    50: '#756ab9',
    500: '#2a329b',
    950: '#000000',
  },
}
SCSS
$custom: #2a329b;
$custom-light: #756ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a329b",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 235.752,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38538,
    "c": 0.16784,
    "h": 272.2
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#2A329B
secondary
#BDB764
accent
#D647E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A329B

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

Preview Lab → · Contrast checker → · Palette generator →

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