#2732A4#2732A4

#2732A4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.180 H 270.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2732A4
RGBrgb(39, 50, 164)
HSLhsl(235, 62%, 40%)
HSVhsv(235, 76%, 64%)
CMYKcmyk(76.2%, 69.5%, 0%, 35.7%)
CIE-LABlab(27.82, 36.23, -62.35)
CIE-LCHlch(27.82, 72.12, 300.16°)
OKLaboklab(39.26% 0.0023 -0.1804)
OKLCHoklch(39.26% 0.18 270.7)
XYZxyz(8.6759, 5.3919, 35.6983)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732A4 #A49927
analogous
#2771A4 #2732A4 #5B27A4
triadic
#2732A4 #A42732 #32A427
tetradic
#2732A4 #A42771 #A49927 #27A45B
square
#2732A4 #A42771 #A49927 #27A45B
split-complementary
#2732A4 #A45B27 #71A427
monochromatic
#0F1441 #1B2373 #2732A4 #3846D0 #6A74DC

Accessibility & contrast

On white

10.10
#2732A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2732A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2732A4
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732A4#FFFFFF#000000##FFFFFF
##2732A41.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2732a4;
/* rgb */ color: rgb(39, 50, 164);
/* oklch */ color: oklch(39.3% 0.180 270.7);
Tailwind
colors: {
  custom: {
    50: '#766ac0',
    500: '#2732a4',
    950: '#000000',
  },
}
SCSS
$custom: #2732a4;
$custom-light: #766ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2732a4",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 234.72,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.18045,
    "h": 270.7
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#2732A4
secondary
#C2BA65
accent
#D643E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2732A4

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

Preview Lab → · Contrast checker → · Palette generator →

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