#2732AE#2732AE

#2732AE is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.193 H 270.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2732AE
RGBrgb(39, 50, 174)
HSLhsl(235, 63%, 42%)
HSVhsv(235, 78%, 68%)
CMYKcmyk(77.6%, 71.3%, 0%, 31.8%)
CIE-LABlab(28.82, 39.79, -66.73)
CIE-LCHlch(28.82, 77.69, 300.81°)
OKLaboklab(40.28% 0.0011 -0.1932)
OKLCHoklch(40.28% 0.193 270.3)
XYZxyz(9.6147, 5.7675, 40.6427)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732AE #AEA327
analogous
#2776AE #2732AE #6027AE
triadic
#2732AE #AE2732 #32AE27
tetradic
#2732AE #AE2776 #AEA327 #27AE60
square
#2732AE #AE2776 #AEA327 #27AE60
split-complementary
#2732AE #AE6027 #76AE27
monochromatic
#11154A #1C247C #2732AE #3E4BD4 #7079DF

Accessibility & contrast

On white

9.75
#2732AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2732AE
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732AE#FFFFFF#000000##FFFFFF
##2732AE1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2732ae;
/* rgb */ color: rgb(39, 50, 174);
/* oklch */ color: oklch(40.3% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#786bc7',
    500: '#2732ae',
    950: '#000000',
  },
}
SCSS
$custom: #2732ae;
$custom-light: #786bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2732ae",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 235.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.19321,
    "h": 270.3
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#2732AE
secondary
#C6BF6B
accent
#D941E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2732AE

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

Preview Lab → · Contrast checker → · Palette generator →

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