#2732AD#2732AD

#2732AD is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.192 H 270.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2732AD
RGBrgb(39, 50, 173)
HSLhsl(235, 63%, 42%)
HSVhsv(235, 77%, 68%)
CMYKcmyk(77.5%, 71.1%, 0%, 32.2%)
CIE-LABlab(28.72, 39.44, -66.30)
CIE-LCHlch(28.72, 77.14, 300.75°)
OKLaboklab(40.17% 0.0012 -0.1919)
OKLCHoklch(40.17% 0.192 270.4)
XYZxyz(9.5176, 5.7286, 40.1312)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732AD #ADA227
analogous
#2775AD #2732AD #5F27AD
triadic
#2732AD #AD2732 #32AD27
tetradic
#2732AD #AD2775 #ADA227 #27AD5F
square
#2732AD #AD2775 #ADA227 #27AD5F
split-complementary
#2732AD #AD5F27 #75AD27
monochromatic
#101549 #1C247B #2732AD #3E4AD3 #7079DF

Accessibility & contrast

On white

9.79
#2732AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2732AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2732AD
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732AD#FFFFFF#000000##FFFFFF
##2732AD1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2732ad;
/* rgb */ color: rgb(39, 50, 173);
/* oklch */ color: oklch(40.2% 0.192 270.4);
Tailwind
colors: {
  custom: {
    50: '#786ac7',
    500: '#2732ad',
    950: '#000000',
  },
}
SCSS
$custom: #2732ad;
$custom-light: #786ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2732ad",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 235.075,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.19195,
    "h": 270.4
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#2732AD
secondary
#C6BE6A
accent
#D942E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2732AD

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

Preview Lab → · Contrast checker → · Palette generator →

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