#2732A1#2732A1

#2732A1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.177 H 270.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2732A1
RGBrgb(39, 50, 161)
HSLhsl(235, 61%, 39%)
HSVhsv(235, 76%, 63%)
CMYKcmyk(75.8%, 68.9%, 0%, 36.9%)
CIE-LABlab(27.53, 35.15, -61.01)
CIE-LCHlch(27.53, 70.42, 299.95°)
OKLaboklab(38.96% 0.0026 -0.1765)
OKLCHoklch(38.96% 0.177 270.8)
XYZxyz(8.4081, 5.2849, 34.2883)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732A1 #A19627
analogous
#276FA1 #2732A1 #5927A1
triadic
#2732A1 #A12732 #32A127
tetradic
#2732A1 #A1276F #A19627 #27A159
square
#2732A1 #A1276F #A19627 #27A159
split-complementary
#2732A1 #A15927 #6FA127
monochromatic
#0F133E #1B2370 #2732A1 #3744CE #6872DA

Accessibility & contrast

On white

10.21
#2732A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2732A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2732A1
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732A1#FFFFFF#000000##FFFFFF
##2732A11.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2732a1;
/* rgb */ color: rgb(39, 50, 161);
/* oklch */ color: oklch(39.0% 0.177 270.8);
Tailwind
colors: {
  custom: {
    50: '#756abe',
    500: '#2732a1',
    950: '#000000',
  },
}
SCSS
$custom: #2732a1;
$custom-light: #756abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2732a1",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 234.59,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3896,
    "c": 0.17656,
    "h": 270.8
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#2732A1
secondary
#C0B863
accent
#D644E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2732A1

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

Preview Lab → · Contrast checker → · Palette generator →

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