#2D32C7#2D32C7

#2D32C7 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.2% C 0.222 H 270.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2D32C7
RGBrgb(45, 50, 199)
HSLhsl(238, 63%, 48%)
HSVhsv(238, 77%, 78%)
CMYKcmyk(77.4%, 74.9%, 0%, 22%)
CIE-LABlab(31.72, 48.78, -76.72)
CIE-LCHlch(31.72, 90.92, 302.45°)
OKLaboklab(43.2% 0.0037 -0.2222)
OKLCHoklch(43.2% 0.222 270.9)
XYZxyz(12.5281, 6.9612, 54.7051)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32C7 #C7C22D
analogous
#2D7FC7 #2D32C7 #752DC7
triadic
#2D32C7 #C72D32 #32C72D
tetradic
#2D32C7 #C72D7F #C7C22D #2DC775
square
#2D32C7 #C72D7F #C7C22D #2DC775
split-complementary
#2D32C7 #C7752D #7FC72D
monochromatic
#161963 #222595 #2D32C7 #585CD9 #8A8DE5

Accessibility & contrast

On white

8.78
#2D32C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D32C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32C7
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32C7#FFFFFF#000000##FFFFFF
##2D32C71.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#0043C4
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d32c7;
/* rgb */ color: rgb(45, 50, 199);
/* oklch */ color: oklch(43.2% 0.222 270.9);
Tailwind
colors: {
  custom: {
    50: '#806cd9',
    500: '#2d32c7',
    950: '#000000',
  },
}
SCSS
$custom: #2d32c7;
$custom-light: #806cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32c7",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 238.052,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43202,
    "c": 0.22219,
    "h": 270.9
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#2D32C7
secondary
#CECC81
accent
#E142E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D32C7

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

Preview Lab → · Contrast checker → · Palette generator →

#2D32C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva