#2832A5#2832A5

#2832A5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.181 H 271.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2832A5
RGBrgb(40, 50, 165)
HSLhsl(235, 61%, 40%)
HSVhsv(235, 76%, 65%)
CMYKcmyk(75.8%, 69.7%, 0%, 35.3%)
CIE-LABlab(27.97, 36.69, -62.70)
CIE-LCHlch(27.97, 72.65, 300.33°)
OKLaboklab(39.41% 0.0032 -0.1814)
OKLCHoklch(39.41% 0.181 271)
XYZxyz(8.8049, 5.4480, 36.1775)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832A5 #A59B28
analogous
#2870A5 #2832A5 #5C28A5
triadic
#2832A5 #A52832 #32A528
tetradic
#2832A5 #A52870 #A59B28 #28A55C
square
#2832A5 #A52870 #A59B28 #28A55C
split-complementary
#2832A5 #A55C28 #70A528
monochromatic
#101442 #1C2374 #2832A5 #3B47CF #6C75DB

Accessibility & contrast

On white

10.05
#2832A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2832A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2832A5
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2832A5#FFFFFF#000000##FFFFFF
##2832A51.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.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: #2832a5;
/* rgb */ color: rgb(40, 50, 165);
/* oklch */ color: oklch(39.4% 0.181 271.0);
Tailwind
colors: {
  custom: {
    50: '#766ac1',
    500: '#2832a5',
    950: '#000000',
  },
}
SCSS
$custom: #2832a5;
$custom-light: #766ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2832a5",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 235.2,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.18148,
    "h": 271
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#2832A5
secondary
#C2BB67
accent
#D744E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2832A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2832A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva