#2832A3#2832A3

#2832A3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.179 H 271.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2832A3
RGBrgb(40, 50, 163)
HSLhsl(235, 61%, 40%)
HSVhsv(235, 75%, 64%)
CMYKcmyk(75.5%, 69.3%, 0%, 36.1%)
CIE-LABlab(27.78, 35.98, -61.82)
CIE-LCHlch(27.78, 71.52, 300.20°)
OKLaboklab(39.21% 0.0034 -0.1789)
OKLCHoklch(39.21% 0.179 271.1)
XYZxyz(8.6243, 5.3758, 35.2263)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832A3 #A39928
analogous
#2870A3 #2832A3 #5C28A3
triadic
#2832A3 #A32832 #32A328
tetradic
#2832A3 #A32870 #A39928 #28A35C
square
#2832A3 #A32870 #A39928 #28A35C
split-complementary
#2832A3 #A35C28 #70A328
monochromatic
#101441 #1C2372 #2832A3 #3A46CF #6B74DB

Accessibility & contrast

On white

10.12
#2832A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2832A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2832A3
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2832A3#FFFFFF#000000##FFFFFF
##2832A31.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2832a3;
/* rgb */ color: rgb(40, 50, 163);
/* oklch */ color: oklch(39.2% 0.179 271.1);
Tailwind
colors: {
  custom: {
    50: '#766abf',
    500: '#2832a3',
    950: '#000000',
  },
}
SCSS
$custom: #2832a3;
$custom-light: #766abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2832a3",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 235.122,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39213,
    "c": 0.17889,
    "h": 271.1
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#2832A3
secondary
#C1BA66
accent
#D744E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2832A3

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

Preview Lab → · Contrast checker → · Palette generator →

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