#2732B1#2732B1

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

Color values

HEX#2732B1
RGBrgb(39, 50, 177)
HSLhsl(235, 64%, 42%)
HSVhsv(235, 78%, 69%)
CMYKcmyk(78%, 71.8%, 0%, 30.6%)
CIE-LABlab(29.12, 40.84, -68.02)
CIE-LCHlch(29.12, 79.34, 300.98°)
OKLaboklab(40.59% 0.0007 -0.197)
OKLCHoklch(40.59% 0.197 270.2)
XYZxyz(9.9104, 5.8858, 42.2002)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732B1 #B1A627
analogous
#2777B1 #2732B1 #6127B1
triadic
#2732B1 #B12732 #32B127
tetradic
#2732B1 #B12777 #B1A627 #27B161
square
#2732B1 #B12777 #B1A627 #27B161
split-complementary
#2732B1 #B16127 #77B127
monochromatic
#11164D #1C247F #2732B1 #404CD5 #727BE0

Accessibility & contrast

On white

9.64
#2732B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2732B1
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732B1#FFFFFF#000000##FFFFFF
##2732B11.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.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: #2732b1;
/* rgb */ color: rgb(39, 50, 177);
/* oklch */ color: oklch(40.6% 0.197 270.2);
Tailwind
colors: {
  custom: {
    50: '#796bca',
    500: '#2732b1',
    950: '#000000',
  },
}
SCSS
$custom: #2732b1;
$custom-light: #796bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2732b1",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 235.217,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40587,
    "c": 0.19698,
    "h": 270.2
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#2732B1
secondary
#C7C06D
accent
#DA41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2732B1

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

Preview Lab → · Contrast checker → · Palette generator →

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