#2A32A3#2A32A3

#2A32A3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.178 H 271.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2A32A3
RGBrgb(42, 50, 163)
HSLhsl(236, 59%, 40%)
HSVhsv(236, 74%, 64%)
CMYKcmyk(74.2%, 69.3%, 0%, 36.1%)
CIE-LABlab(27.89, 36.19, -61.63)
CIE-LCHlch(27.89, 71.47, 300.42°)
OKLaboklab(39.32% 0.0056 -0.1783)
OKLCHoklch(39.32% 0.178 271.8)
XYZxyz(8.7041, 5.4169, 35.2301)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32A3 #A39B2A
analogous
#2A6EA3 #2A32A3 #5E2AA3
triadic
#2A32A3 #A32A32 #32A32A
tetradic
#2A32A3 #A32A6E #A39B2A #2AA35E
square
#2A32A3 #A32A6E #A39B2A #2AA35E
split-complementary
#2A32A3 #A35E2A #6EA32A
monochromatic
#111442 #1D2372 #2A32A3 #3D47CD #6E75DA

Accessibility & contrast

On white

10.08
#2A32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32A3
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32A3#FFFFFF#000000##FFFFFF
##2A32A31.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a32a3;
/* rgb */ color: rgb(42, 50, 163);
/* oklch */ color: oklch(39.3% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#776abf',
    500: '#2a32a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a32a3;
$custom-light: #776abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32a3",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 236.033,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39323,
    "c": 0.17836,
    "h": 271.8
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#2A32A3
secondary
#C0BB68
accent
#D846E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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