#2832A0#2832A0

#2832A0 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.175 H 271.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2832A0
RGBrgb(40, 50, 160)
HSLhsl(235, 60%, 39%)
HSVhsv(235, 75%, 63%)
CMYKcmyk(75%, 68.8%, 0%, 37.3%)
CIE-LABlab(27.49, 34.90, -60.48)
CIE-LCHlch(27.49, 69.82, 299.99°)
OKLaboklab(38.91% 0.0037 -0.1749)
OKLCHoklch(38.91% 0.175 271.2)
XYZxyz(8.3587, 5.2695, 33.8275)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832A0 #A09628
analogous
#286EA0 #2832A0 #5A28A0
triadic
#2832A0 #A02832 #32A028
tetradic
#2832A0 #A0286E #A09628 #28A05A
square
#2832A0 #A0286E #A09628 #28A05A
split-complementary
#2832A0 #A05A28 #6EA028
monochromatic
#10133E #1C236F #2832A0 #3844CD #6972D9

Accessibility & contrast

On white

10.22
#2832A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2832A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2832A0#FFFFFF#000000##FFFFFF
##2832A01.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2832a0;
/* rgb */ color: rgb(40, 50, 160);
/* oklch */ color: oklch(38.9% 0.175 271.2);
Tailwind
colors: {
  custom: {
    50: '#756abd',
    500: '#2832a0',
    950: '#000000',
  },
}
SCSS
$custom: #2832a0;
$custom-light: #756abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2832a0",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 160
  },
  "hsl": {
    "h": 235,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38914,
    "c": 0.17498,
    "h": 271.2
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#2832A0
secondary
#C0B864
accent
#D645E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2832A0

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

Preview Lab → · Contrast checker → · Palette generator →

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