#2832AB#2832AB

#2832AB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.189 H 270.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2832AB
RGBrgb(40, 50, 171)
HSLhsl(235, 62%, 41%)
HSVhsv(235, 77%, 67%)
CMYKcmyk(76.6%, 70.8%, 0%, 32.9%)
CIE-LABlab(28.57, 38.82, -65.34)
CIE-LCHlch(28.57, 76.00, 300.72°)
OKLaboklab(40.02% 0.0025 -0.1891)
OKLCHoklch(40.02% 0.189 270.8)
XYZxyz(9.3639, 5.6716, 39.1214)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832AB #ABA128
analogous
#2874AB #2832AB #6028AB
triadic
#2832AB #AB2832 #32AB28
tetradic
#2832AB #AB2874 #ABA128 #28AB60
square
#2832AB #AB2874 #ABA128 #28AB60
split-complementary
#2832AB #AB6028 #74AB28
monochromatic
#111548 #1C2379 #2832AB #3E4AD2 #7078DE

Accessibility & contrast

On white

9.84
#2832AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2832AB#FFFFFF#000000##FFFFFF
##2832AB1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2832ab;
/* rgb */ color: rgb(40, 50, 171);
/* oklch */ color: oklch(40.0% 0.189 270.8);
Tailwind
colors: {
  custom: {
    50: '#786ac5',
    500: '#2832ab',
    950: '#000000',
  },
}
SCSS
$custom: #2832ab;
$custom-light: #786ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2832ab",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 235.42,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40021,
    "c": 0.18916,
    "h": 270.8
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2832AB

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

Preview Lab → · Contrast checker → · Palette generator →

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