#2732B0#2732B0

#2732B0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.196 H 270.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2732B0
RGBrgb(39, 50, 176)
HSLhsl(235, 64%, 42%)
HSVhsv(235, 78%, 69%)
CMYKcmyk(77.8%, 71.6%, 0%, 31%)
CIE-LABlab(29.02, 40.49, -67.59)
CIE-LCHlch(29.02, 78.79, 300.92°)
OKLaboklab(40.48% 0.0009 -0.1957)
OKLCHoklch(40.48% 0.196 270.2)
XYZxyz(9.8111, 5.8460, 41.6772)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732B0 #B0A527
analogous
#2777B0 #2732B0 #6027B0
triadic
#2732B0 #B02732 #32B027
tetradic
#2732B0 #B02777 #B0A527 #27B060
square
#2732B0 #B02777 #B0A527 #27B060
split-complementary
#2732B0 #B06027 #77B027
monochromatic
#11164C #1C247E #2732B0 #404CD5 #727BE0

Accessibility & contrast

On white

9.68
#2732B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2732B0
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732B0#FFFFFF#000000##FFFFFF
##2732B01.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2732b0;
/* rgb */ color: rgb(39, 50, 176);
/* oklch */ color: oklch(40.5% 0.196 270.2);
Tailwind
colors: {
  custom: {
    50: '#796bc9',
    500: '#2732b0',
    950: '#000000',
  },
}
SCSS
$custom: #2732b0;
$custom-light: #796bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2732b0",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 235.182,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.19573,
    "h": 270.2
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#2732B0
secondary
#C7BF6C
accent
#D941E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2732B0

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

Preview Lab → · Contrast checker → · Palette generator →

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