#2732A6#2732A6

#2732A6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.183 H 270.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2732A6
RGBrgb(39, 50, 166)
HSLhsl(235, 62%, 40%)
HSVhsv(235, 77%, 65%)
CMYKcmyk(76.5%, 69.9%, 0%, 34.9%)
CIE-LABlab(28.02, 36.95, -63.24)
CIE-LCHlch(28.02, 73.24, 300.30°)
OKLaboklab(39.46% 0.002 -0.183)
OKLCHoklch(39.46% 0.183 270.6)
XYZxyz(8.8579, 5.4648, 36.6570)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2732A6 #A69B27
analogous
#2772A6 #2732A6 #5B27A6
triadic
#2732A6 #A62732 #32A627
tetradic
#2732A6 #A62772 #A69B27 #27A65B
square
#2732A6 #A62772 #A69B27 #27A65B
split-complementary
#2732A6 #A65B27 #72A627
monochromatic
#101443 #1B2374 #2732A6 #3A47D1 #6B75DC

Accessibility & contrast

On white

10.03
#2732A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2732A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2732A6
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2732A6#FFFFFF#000000##FFFFFF
##2732A61.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2732a6;
/* rgb */ color: rgb(39, 50, 166);
/* oklch */ color: oklch(39.5% 0.183 270.6);
Tailwind
colors: {
  custom: {
    50: '#766ac2',
    500: '#2732a6',
    950: '#000000',
  },
}
SCSS
$custom: #2732a6;
$custom-light: #766ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2732a6",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 234.803,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.18304,
    "h": 270.6
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#2732A6
secondary
#C3BB66
accent
#D743E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2732A6

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

Preview Lab → · Contrast checker → · Palette generator →

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