#2A329A#2A329A

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

Color values

HEX#2A329A
RGBrgb(42, 50, 154)
HSLhsl(236, 57%, 38%)
HSVhsv(236, 73%, 60%)
CMYKcmyk(72.7%, 67.5%, 0%, 39.6%)
CIE-LABlab(27.03, 32.96, -57.56)
CIE-LCHlch(27.03, 66.33, 299.79°)
OKLaboklab(38.44% 0.0065 -0.1664)
OKLCHoklch(38.44% 0.167 272.2)
XYZxyz(7.9262, 5.1057, 31.1334)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A329A #9A922A
analogous
#2A6A9A #2A329A #5A2A9A
triadic
#2A329A #9A2A32 #329A2A
tetradic
#2A329A #9A2A6A #9A922A #2A9A5A
square
#2A329A #9A2A6A #9A922A #2A9A5A
split-complementary
#2A329A #9A5A2A #6A9A2A
monochromatic
#10133A #1D226A #2A329A #3843C9 #6870D6

Accessibility & contrast

On white

10.39
#2A329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2A329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A329A
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A329A#FFFFFF#000000##FFFFFF
##2A329A1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a329a;
/* rgb */ color: rgb(42, 50, 154);
/* oklch */ color: oklch(38.4% 0.167 272.2);
Tailwind
colors: {
  custom: {
    50: '#746ab9',
    500: '#2a329a',
    950: '#000000',
  },
}
SCSS
$custom: #2a329a;
$custom-light: #746ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a329a",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 235.714,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.16651,
    "h": 272.2
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#2A329A
secondary
#BCB663
accent
#D547E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #2A329A

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

Preview Lab → · Contrast checker → · Palette generator →

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