#2732A2#2732A2

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

Color values

HEX#2732A2
RGBrgb(39, 50, 162)
HSLhsl(235, 61%, 39%)
HSVhsv(235, 76%, 64%)
CMYKcmyk(75.9%, 69.1%, 0%, 36.5%)
CIE-LABlab(27.63, 35.51, -61.46)
CIE-LCHlch(27.63, 70.98, 300.02°)
OKLaboklab(39.06% 0.0025 -0.1778)
OKLCHoklch(39.06% 0.178 270.8)
XYZxyz(8.4967, 5.3203, 34.7545)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732A2 #A29727
analogous
#2770A2 #2732A2 #5A27A2
triadic
#2732A2 #A22732 #32A227
tetradic
#2732A2 #A22770 #A29727 #27A25A
square
#2732A2 #A22770 #A29727 #27A25A
split-complementary
#2732A2 #A25A27 #70A227
monochromatic
#0F143F #1B2371 #2732A2 #3745CF #6973DB

Accessibility & contrast

On white

10.17
#2732A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2732A2
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732A2#FFFFFF#000000##FFFFFF
##2732A21.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2732a2;
/* rgb */ color: rgb(39, 50, 162);
/* oklch */ color: oklch(39.1% 0.178 270.8);
Tailwind
colors: {
  custom: {
    50: '#756abf',
    500: '#2732a2',
    950: '#000000',
  },
}
SCSS
$custom: #2732a2;
$custom-light: #756abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2732a2",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 234.634,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39059,
    "c": 0.17786,
    "h": 270.8
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2732A2

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

Preview Lab → · Contrast checker → · Palette generator →

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