#2832B1#2832B1

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

Color values

HEX#2832B1
RGBrgb(40, 50, 177)
HSLhsl(236, 63%, 43%)
HSVhsv(236, 77%, 69%)
CMYKcmyk(77.4%, 71.8%, 0%, 30.6%)
CIE-LABlab(29.17, 40.93, -67.94)
CIE-LCHlch(29.17, 79.31, 301.07°)
OKLaboklab(40.64% 0.0018 -0.1967)
OKLCHoklch(40.64% 0.197 270.5)
XYZxyz(9.9488, 5.9055, 42.2020)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832B1 #B1A728
analogous
#2877B1 #2832B1 #6228B1
triadic
#2832B1 #B12832 #32B128
tetradic
#2832B1 #B12877 #B1A728 #28B162
square
#2832B1 #B12877 #B1A728 #28B162
split-complementary
#2832B1 #B16228 #77B128
monochromatic
#11164D #1D247F #2832B1 #424DD4 #747CE0

Accessibility & contrast

On white

9.63
#2832B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2832B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2832B1#FFFFFF#000000##FFFFFF
##2832B11.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2832b1;
/* rgb */ color: rgb(40, 50, 177);
/* oklch */ color: oklch(40.6% 0.197 270.5);
Tailwind
colors: {
  custom: {
    50: '#796bca',
    500: '#2832b1',
    950: '#000000',
  },
}
SCSS
$custom: #2832b1;
$custom-light: #796bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2832b1",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 235.62,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.19672,
    "h": 270.5
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#2832B1
secondary
#C7C06E
accent
#DA42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2832B1

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

Preview Lab → · Contrast checker → · Palette generator →

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