#2832C4#2832C4

#2832C4 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.220 H 269.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2832C4
RGBrgb(40, 50, 196)
HSLhsl(236, 66%, 46%)
HSVhsv(236, 80%, 77%)
CMYKcmyk(79.6%, 74.5%, 0%, 23.1%)
CIE-LABlab(31.15, 47.42, -75.91)
CIE-LCHlch(31.15, 89.50, 301.99°)
OKLaboklab(42.64% -0.0009 -0.2199)
OKLCHoklch(42.64% 0.22 269.8)
XYZxyz(11.9761, 6.7165, 52.8791)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832C4 #C4BA28
analogous
#2880C4 #2832C4 #6C28C4
triadic
#2832C4 #C42832 #32C428
tetradic
#2832C4 #C42880 #C4BA28 #28C46C
square
#2832C4 #C42880 #C4BA28 #28C46C
split-complementary
#2832C4 #C46C28 #80C428
monochromatic
#13185E #1E2591 #2832C4 #4E57DB #8188E5

Accessibility & contrast

On white

8.96
#2832C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2832C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2832C4
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2832C4#FFFFFF#000000##FFFFFF
##2832C41.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0041C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2832c4;
/* rgb */ color: rgb(40, 50, 196);
/* oklch */ color: oklch(42.6% 0.220 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e6bd7',
    500: '#2832c4',
    950: '#000000',
  },
}
SCSS
$custom: #2832c4;
$custom-light: #7e6bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2832c4",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 236.154,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.21989,
    "h": 269.8
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#2832C4
secondary
#CEC97A
accent
#DE3FE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2832C4

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

Preview Lab → · Contrast checker → · Palette generator →

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