#2832AD#2832AD

#2832AD is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.192 H 270.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2832AD
RGBrgb(40, 50, 173)
HSLhsl(235, 62%, 42%)
HSVhsv(235, 77%, 68%)
CMYKcmyk(76.9%, 71.1%, 0%, 32.2%)
CIE-LABlab(28.77, 39.53, -66.21)
CIE-LCHlch(28.77, 77.11, 300.84°)
OKLaboklab(40.23% 0.0023 -0.1917)
OKLCHoklch(40.23% 0.192 270.7)
XYZxyz(9.5559, 5.7484, 40.1330)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832AD #ADA328
analogous
#2875AD #2832AD #6128AD
triadic
#2832AD #AD2832 #32AD28
tetradic
#2832AD #AD2875 #ADA328 #28AD61
square
#2832AD #AD2875 #ADA328 #28AD61
split-complementary
#2832AD #AD6128 #75AD28
monochromatic
#11154A #1D247B #2832AD #3F4BD3 #7179DE

Accessibility & contrast

On white

9.77
#2832AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2832AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2832AD
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2832AD#FFFFFF#000000##FFFFFF
##2832AD1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2832ad;
/* rgb */ color: rgb(40, 50, 173);
/* oklch */ color: oklch(40.2% 0.192 270.7);
Tailwind
colors: {
  custom: {
    50: '#786bc7',
    500: '#2832ad',
    950: '#000000',
  },
}
SCSS
$custom: #2832ad;
$custom-light: #786bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2832ad",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 235.489,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.19169,
    "h": 270.7
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#2832AD
secondary
#C5BF6C
accent
#D942E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2832AD

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

Preview Lab → · Contrast checker → · Palette generator →

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