#2832AE#2832AE

#2832AE is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.193 H 270.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2832AE
RGBrgb(40, 50, 174)
HSLhsl(236, 63%, 42%)
HSVhsv(236, 77%, 68%)
CMYKcmyk(77%, 71.3%, 0%, 31.8%)
CIE-LABlab(28.87, 39.88, -66.64)
CIE-LCHlch(28.87, 77.66, 300.90°)
OKLaboklab(40.33% 0.0021 -0.1929)
OKLCHoklch(40.33% 0.193 270.6)
XYZxyz(9.6531, 5.7873, 40.6445)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832AE #AEA428
analogous
#2875AE #2832AE #6128AE
triadic
#2832AE #AE2832 #32AE28
tetradic
#2832AE #AE2875 #AEA428 #28AE61
square
#2832AE #AE2875 #AEA428 #28AE61
split-complementary
#2832AE #AE6128 #75AE28
monochromatic
#11154A #1D247C #2832AE #404BD3 #727ADF

Accessibility & contrast

On white

9.73
#2832AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2832AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2832AE
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2832AE#FFFFFF#000000##FFFFFF
##2832AE1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2832ae;
/* rgb */ color: rgb(40, 50, 174);
/* oklch */ color: oklch(40.3% 0.193 270.6);
Tailwind
colors: {
  custom: {
    50: '#796bc7',
    500: '#2832ae',
    950: '#000000',
  },
}
SCSS
$custom: #2832ae;
$custom-light: #796bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2832ae",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 235.522,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.19295,
    "h": 270.6
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2832AE

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

Preview Lab → · Contrast checker → · Palette generator →

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