#2732A3#2732A3

#2732A3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.179 H 270.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2732A3
RGBrgb(39, 50, 163)
HSLhsl(235, 61%, 40%)
HSVhsv(235, 76%, 64%)
CMYKcmyk(76.1%, 69.3%, 0%, 36.1%)
CIE-LABlab(27.73, 35.87, -61.91)
CIE-LCHlch(27.73, 71.55, 300.09°)
OKLaboklab(39.16% 0.0024 -0.1791)
OKLCHoklch(39.16% 0.179 270.8)
XYZxyz(8.5859, 5.3560, 35.2245)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732A3 #A39827
analogous
#2770A3 #2732A3 #5A27A3
triadic
#2732A3 #A32732 #32A327
tetradic
#2732A3 #A32770 #A39827 #27A35A
square
#2732A3 #A32770 #A39827 #27A35A
split-complementary
#2732A3 #A35A27 #70A327
monochromatic
#0F1440 #1B2372 #2732A3 #3845CF #6973DB

Accessibility & contrast

On white

10.14
#2732A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2732A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2732A3
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732A3#FFFFFF#000000##FFFFFF
##2732A31.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2732a3;
/* rgb */ color: rgb(39, 50, 163);
/* oklch */ color: oklch(39.2% 0.179 270.8);
Tailwind
colors: {
  custom: {
    50: '#766abf',
    500: '#2732a3',
    950: '#000000',
  },
}
SCSS
$custom: #2732a3;
$custom-light: #766abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2732a3",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 234.677,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.17917,
    "h": 270.8
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#2732A3
secondary
#C1B964
accent
#D643E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2732A3

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

Preview Lab → · Contrast checker → · Palette generator →

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