#2A32A0#2A32A0

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

Color values

HEX#2A32A0
RGBrgb(42, 50, 160)
HSLhsl(236, 58%, 40%)
HSVhsv(236, 74%, 63%)
CMYKcmyk(73.8%, 68.8%, 0%, 37.3%)
CIE-LABlab(27.60, 35.12, -60.29)
CIE-LCHlch(27.60, 69.77, 300.22°)
OKLaboklab(39.03% 0.0059 -0.1743)
OKLCHoklch(39.03% 0.174 271.9)
XYZxyz(8.4385, 5.3106, 33.8312)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32A0 #A0982A
analogous
#2A6DA0 #2A32A0 #5D2AA0
triadic
#2A32A0 #A02A32 #32A02A
tetradic
#2A32A0 #A02A6D #A0982A #2AA05D
square
#2A32A0 #A02A6D #A0982A #2AA05D
split-complementary
#2A32A0 #A05D2A #6DA02A
monochromatic
#11143F #1D2370 #2A32A0 #3C45CC #6C73D8

Accessibility & contrast

On white

10.18
#2A32A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A32A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32A0
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32A0#FFFFFF#000000##FFFFFF
##2A32A01.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a32a0;
/* rgb */ color: rgb(42, 50, 160);
/* oklch */ color: oklch(39.0% 0.174 271.9);
Tailwind
colors: {
  custom: {
    50: '#766abd',
    500: '#2a32a0',
    950: '#000000',
  },
}
SCSS
$custom: #2a32a0;
$custom-light: #766abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32a0",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 160
  },
  "hsl": {
    "h": 235.932,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.17444,
    "h": 271.9
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A32A0

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

Preview Lab → · Contrast checker → · Palette generator →

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