#2832A2#2832A2

#2832A2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.178 H 271.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2832A2
RGBrgb(40, 50, 162)
HSLhsl(235, 60%, 40%)
HSVhsv(235, 75%, 64%)
CMYKcmyk(75.3%, 69.1%, 0%, 36.5%)
CIE-LABlab(27.68, 35.62, -61.37)
CIE-LCHlch(27.68, 70.96, 300.13°)
OKLaboklab(39.11% 0.0035 -0.1776)
OKLCHoklch(39.11% 0.178 271.1)
XYZxyz(8.5350, 5.3401, 34.7563)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832A2 #A29828
analogous
#286FA2 #2832A2 #5B28A2
triadic
#2832A2 #A22832 #32A228
tetradic
#2832A2 #A2286F #A29828 #28A25B
square
#2832A2 #A2286F #A29828 #28A25B
split-complementary
#2832A2 #A25B28 #6FA228
monochromatic
#101440 #1C2371 #2832A2 #3945CE #6A73DA

Accessibility & contrast

On white

10.15
#2832A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2832A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2832A2#FFFFFF#000000##FFFFFF
##2832A21.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2832a2;
/* rgb */ color: rgb(40, 50, 162);
/* oklch */ color: oklch(39.1% 0.178 271.1);
Tailwind
colors: {
  custom: {
    50: '#766abf',
    500: '#2832a2',
    950: '#000000',
  },
}
SCSS
$custom: #2832a2;
$custom-light: #766abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2832a2",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 235.082,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39113,
    "c": 0.1776,
    "h": 271.1
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#2832A2
secondary
#C1B965
accent
#D644E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2832A2

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

Preview Lab → · Contrast checker → · Palette generator →

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