#2A329C#2A329C

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

Color values

HEX#2A329C
RGBrgb(42, 50, 156)
HSLhsl(236, 58%, 39%)
HSVhsv(236, 73%, 61%)
CMYKcmyk(73.1%, 67.9%, 0%, 38.8%)
CIE-LABlab(27.22, 33.68, -58.48)
CIE-LCHlch(27.22, 67.48, 299.94°)
OKLaboklab(38.64% 0.0063 -0.169)
OKLCHoklch(38.64% 0.169 272.1)
XYZxyz(8.0942, 5.1729, 32.0179)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A329C #9C942A
analogous
#2A6B9C #2A329C #5B2A9C
triadic
#2A329C #9C2A32 #329C2A
tetradic
#2A329C #9C2A6B #9C942A #2A9C5B
square
#2A329C #9C2A6B #9C942A #2A9C5B
split-complementary
#2A329C #9C5B2A #6B9C2A
monochromatic
#10133C #1D236C #2A329C #3944CA #6A71D7

Accessibility & contrast

On white

10.32
#2A329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A329C
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A329C#FFFFFF#000000##FFFFFF
##2A329C1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a329c;
/* rgb */ color: rgb(42, 50, 156);
/* oklch */ color: oklch(38.6% 0.169 272.1);
Tailwind
colors: {
  custom: {
    50: '#756aba',
    500: '#2a329c',
    950: '#000000',
  },
}
SCSS
$custom: #2a329c;
$custom-light: #756aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a329c",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 235.789,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.16917,
    "h": 272.1
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A329C

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

Preview Lab → · Contrast checker → · Palette generator →

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