#2832AA#2832AA

#2832AA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.188 H 270.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2832AA
RGBrgb(40, 50, 170)
HSLhsl(235, 62%, 41%)
HSVhsv(235, 76%, 67%)
CMYKcmyk(76.5%, 70.6%, 0%, 33.3%)
CIE-LABlab(28.47, 38.47, -64.90)
CIE-LCHlch(28.47, 75.45, 300.66°)
OKLaboklab(39.92% 0.0026 -0.1879)
OKLCHoklch(39.92% 0.188 270.8)
XYZxyz(9.2689, 5.6336, 38.6213)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832AA #AAA028
analogous
#2873AA #2832AA #5F28AA
triadic
#2832AA #AA2832 #32AA28
tetradic
#2832AA #AA2873 #AAA028 #28AA5F
square
#2832AA #AA2873 #AAA028 #28AA5F
split-complementary
#2832AA #AA5F28 #73AA28
monochromatic
#111547 #1C2378 #2832AA #3E49D2 #6F78DD

Accessibility & contrast

On white

9.87
#2832AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2832AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2832AA#FFFFFF#000000##FFFFFF
##2832AA1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2832aa;
/* rgb */ color: rgb(40, 50, 170);
/* oklch */ color: oklch(39.9% 0.188 270.8);
Tailwind
colors: {
  custom: {
    50: '#786ac4',
    500: '#2832aa',
    950: '#000000',
  },
}
SCSS
$custom: #2832aa;
$custom-light: #786ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2832aa",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 235.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.18789,
    "h": 270.8
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#2832AA
secondary
#C4BD6A
accent
#D943E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2832AA

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

Preview Lab → · Contrast checker → · Palette generator →

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