#2832B2#2832B2

#2832B2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.198 H 270.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2832B2
RGBrgb(40, 50, 178)
HSLhsl(236, 63%, 43%)
HSVhsv(236, 78%, 70%)
CMYKcmyk(77.5%, 71.9%, 0%, 30.2%)
CIE-LABlab(29.27, 41.28, -68.37)
CIE-LCHlch(29.27, 79.86, 301.12°)
OKLaboklab(40.74% 0.0016 -0.198)
OKLCHoklch(40.74% 0.198 270.5)
XYZxyz(10.0488, 5.9456, 42.7289)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832B2 #B2A828
analogous
#2877B2 #2832B2 #6328B2
triadic
#2832B2 #B22832 #32B228
tetradic
#2832B2 #B22877 #B2A828 #28B263
square
#2832B2 #B22877 #B2A828 #28B263
split-complementary
#2832B2 #B26328 #77B228
monochromatic
#12164E #1D2480 #2832B2 #434DD5 #757CE0

Accessibility & contrast

On white

9.59
#2832B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2832B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2832B2#FFFFFF#000000##FFFFFF
##2832B21.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2832b2;
/* rgb */ color: rgb(40, 50, 178);
/* oklch */ color: oklch(40.7% 0.198 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a6bca',
    500: '#2832b2',
    950: '#000000',
  },
}
SCSS
$custom: #2832b2;
$custom-light: #7a6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2832b2",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 235.652,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.19797,
    "h": 270.5
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#2832B2
secondary
#C7C16F
accent
#DA41E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2832B2

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

Preview Lab → · Contrast checker → · Palette generator →

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