#2832B0#2832B0

#2832B0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.195 H 270.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2832B0
RGBrgb(40, 50, 176)
HSLhsl(236, 63%, 42%)
HSVhsv(236, 77%, 69%)
CMYKcmyk(77.3%, 71.6%, 0%, 31%)
CIE-LABlab(29.07, 40.58, -67.51)
CIE-LCHlch(29.07, 78.77, 301.01°)
OKLaboklab(40.53% 0.0019 -0.1955)
OKLCHoklch(40.53% 0.195 270.6)
XYZxyz(9.8495, 5.8658, 41.6790)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832B0 #B0A628
analogous
#2876B0 #2832B0 #6228B0
triadic
#2832B0 #B02832 #32B028
tetradic
#2832B0 #B02876 #B0A628 #28B062
square
#2832B0 #B02876 #B0A628 #28B062
split-complementary
#2832B0 #B06228 #76B028
monochromatic
#11164C #1D247E #2832B0 #414CD4 #737BDF

Accessibility & contrast

On white

9.66
#2832B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2832B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2832B0
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2832B0#FFFFFF#000000##FFFFFF
##2832B01.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2832b0;
/* rgb */ color: rgb(40, 50, 176);
/* oklch */ color: oklch(40.5% 0.195 270.6);
Tailwind
colors: {
  custom: {
    50: '#796bc9',
    500: '#2832b0',
    950: '#000000',
  },
}
SCSS
$custom: #2832b0;
$custom-light: #796bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2832b0",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 235.588,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.19547,
    "h": 270.6
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2832B0

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

Preview Lab → · Contrast checker → · Palette generator →

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