#2A32A5#2A32A5

#2A32A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.181 H 271.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2A32A5
RGBrgb(42, 50, 165)
HSLhsl(236, 59%, 41%)
HSVhsv(236, 75%, 65%)
CMYKcmyk(74.5%, 69.7%, 0%, 35.3%)
CIE-LABlab(28.09, 36.90, -62.52)
CIE-LCHlch(28.09, 72.60, 300.55°)
OKLaboklab(39.52% 0.0054 -0.1809)
OKLCHoklch(39.52% 0.181 271.7)
XYZxyz(8.8847, 5.4891, 36.1813)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32A5 #A59D2A
analogous
#2A6FA5 #2A32A5 #602AA5
triadic
#2A32A5 #A52A32 #32A52A
tetradic
#2A32A5 #A52A6F #A59D2A #2AA560
square
#2A32A5 #A52A6F #A59D2A #2AA560
split-complementary
#2A32A5 #A5602A #6FA52A
monochromatic
#111443 #1E2374 #2A32A5 #3E48CE #6F76DA

Accessibility & contrast

On white

10.01
#2A32A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A32A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32A5
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32A5#FFFFFF#000000##FFFFFF
##2A32A51.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a32a5;
/* rgb */ color: rgb(42, 50, 165);
/* oklch */ color: oklch(39.5% 0.181 271.7);
Tailwind
colors: {
  custom: {
    50: '#776ac1',
    500: '#2a32a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a32a5;
$custom-light: #776ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32a5",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 236.098,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.18095,
    "h": 271.7
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#2A32A5
secondary
#C1BC69
accent
#D845E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A32A5

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

Preview Lab → · Contrast checker → · Palette generator →

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