#2A32A1#2A32A1

#2A32A1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.176 H 271.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2A32A1
RGBrgb(42, 50, 161)
HSLhsl(236, 59%, 40%)
HSVhsv(236, 74%, 63%)
CMYKcmyk(73.9%, 68.9%, 0%, 36.9%)
CIE-LABlab(27.70, 35.47, -60.73)
CIE-LCHlch(27.70, 70.33, 300.29°)
OKLaboklab(39.13% 0.0058 -0.1756)
OKLCHoklch(39.13% 0.176 271.9)
XYZxyz(8.5263, 5.3458, 34.2938)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32A1 #A1992A
analogous
#2A6EA1 #2A32A1 #5D2AA1
triadic
#2A32A1 #A12A32 #32A12A
tetradic
#2A32A1 #A12A6E #A1992A #2AA15D
square
#2A32A1 #A12A6E #A1992A #2AA15D
split-complementary
#2A32A1 #A15D2A #6EA12A
monochromatic
#111440 #1D2370 #2A32A1 #3C46CC #6D74D9

Accessibility & contrast

On white

10.15
#2A32A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A32A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32A1
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32A1#FFFFFF#000000##FFFFFF
##2A32A11.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a32a1;
/* rgb */ color: rgb(42, 50, 161);
/* oklch */ color: oklch(39.1% 0.176 271.9);
Tailwind
colors: {
  custom: {
    50: '#766abe',
    500: '#2a32a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a32a1;
$custom-light: #766abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32a1",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 235.966,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39125,
    "c": 0.17575,
    "h": 271.9
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#2A32A1
secondary
#C0BA67
accent
#D746E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A32A1

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

Preview Lab → · Contrast checker → · Palette generator →

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