#2832B3#2832B3

#2832B3 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.199 H 270.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2832B3
RGBrgb(40, 50, 179)
HSLhsl(236, 63%, 43%)
HSVhsv(236, 78%, 70%)
CMYKcmyk(77.7%, 72.1%, 0%, 29.8%)
CIE-LABlab(29.38, 41.62, -68.79)
CIE-LCHlch(29.38, 80.41, 301.18°)
OKLaboklab(40.84% 0.0015 -0.1992)
OKLCHoklch(40.84% 0.199 270.4)
XYZxyz(10.1496, 5.9859, 43.2596)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832B3 #B3A928
analogous
#2878B3 #2832B3 #6328B3
triadic
#2832B3 #B32832 #32B328
tetradic
#2832B3 #B32878 #B3A928 #28B363
square
#2832B3 #B32878 #B3A928 #28B363
split-complementary
#2832B3 #B36328 #78B328
monochromatic
#12164F #1D2481 #2832B3 #434ED5 #757DE0

Accessibility & contrast

On white

9.56
#2832B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2832B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2832B3
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2832B3#FFFFFF#000000##FFFFFF
##2832B31.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2832b3;
/* rgb */ color: rgb(40, 50, 179);
/* oklch */ color: oklch(40.8% 0.199 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a6bcb',
    500: '#2832b3',
    950: '#000000',
  },
}
SCSS
$custom: #2832b3;
$custom-light: #7a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2832b3",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 235.683,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.19921,
    "h": 270.4
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#2832B3
secondary
#C8C16F
accent
#DB41E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2832B3

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

Preview Lab → · Contrast checker → · Palette generator →

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