#2A329D#2A329D

#2A329D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.170 H 272.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2A329D
RGBrgb(42, 50, 157)
HSLhsl(236, 58%, 39%)
HSVhsv(236, 73%, 62%)
CMYKcmyk(73.2%, 68.2%, 0%, 38.4%)
CIE-LABlab(27.32, 34.04, -58.93)
CIE-LCHlch(27.32, 68.05, 300.01°)
OKLaboklab(38.73% 0.0062 -0.1704)
OKLCHoklch(38.73% 0.17 272.1)
XYZxyz(8.1792, 5.2069, 32.4657)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A329D #9D952A
analogous
#2A6C9D #2A329D #5C2A9D
triadic
#2A329D #9D2A32 #329D2A
tetradic
#2A329D #9D2A6C #9D952A #2A9D5C
square
#2A329D #9D2A6C #9D952A #2A9D5C
split-complementary
#2A329D #9D5C2A #6C9D2A
monochromatic
#10133C #1D236D #2A329D #3A44CA #6A72D7

Accessibility & contrast

On white

10.29
#2A329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2A329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A329D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A329D#FFFFFF#000000##FFFFFF
##2A329D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a329d;
/* rgb */ color: rgb(42, 50, 157);
/* oklch */ color: oklch(38.7% 0.170 272.1);
Tailwind
colors: {
  custom: {
    50: '#756abb',
    500: '#2a329d',
    950: '#000000',
  },
}
SCSS
$custom: #2a329d;
$custom-light: #756abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a329d",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 235.826,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38732,
    "c": 0.17049,
    "h": 272.1
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A329D

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

Preview Lab → · Contrast checker → · Palette generator →

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