#2732C4#2732C4

#2732C4 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.220 H 269.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2732C4
RGBrgb(39, 50, 196)
HSLhsl(236, 67%, 46%)
HSVhsv(236, 80%, 77%)
CMYKcmyk(80.1%, 74.5%, 0%, 23.1%)
CIE-LABlab(31.11, 47.35, -75.99)
CIE-LCHlch(31.11, 89.53, 301.93°)
OKLaboklab(42.59% -0.0019 -0.2201)
OKLCHoklch(42.59% 0.22 269.5)
XYZxyz(11.9377, 6.6967, 52.8773)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732C4 #C4B927
analogous
#2780C4 #2732C4 #6A27C4
triadic
#2732C4 #C42732 #32C427
tetradic
#2732C4 #C42780 #C4B927 #27C46A
square
#2732C4 #C42780 #C4B927 #27C46A
split-complementary
#2732C4 #C46A27 #80C427
monochromatic
#13185E #1D2591 #2732C4 #4D57DC #8087E6

Accessibility & contrast

On white

8.98
#2732C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2732C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2732C4
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732C4#FFFFFF#000000##FFFFFF
##2732C41.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0041C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2732c4;
/* rgb */ color: rgb(39, 50, 196);
/* oklch */ color: oklch(42.6% 0.220 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e6bd7',
    500: '#2732c4',
    950: '#000000',
  },
}
SCSS
$custom: #2732c4;
$custom-light: #7e6bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2732c4",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 235.796,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.22015,
    "h": 269.5
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#2732C4
secondary
#CEC879
accent
#DE3EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2732C4

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

Preview Lab → · Contrast checker → · Palette generator →

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