#2D32C9#2D32C9

#2D32C9 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.4% C 0.225 H 270.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2D32C9
RGBrgb(45, 50, 201)
HSLhsl(238, 63%, 48%)
HSVhsv(238, 78%, 79%)
CMYKcmyk(77.6%, 75.1%, 0%, 21.2%)
CIE-LABlab(31.93, 49.43, -77.54)
CIE-LCHlch(31.93, 91.96, 302.52°)
OKLaboklab(43.42% 0.0034 -0.2245)
OKLCHoklch(43.42% 0.225 270.9)
XYZxyz(12.7618, 7.0547, 55.9361)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32C9 #C9C42D
analogous
#2D80C9 #2D32C9 #762DC9
triadic
#2D32C9 #C92D32 #32C92D
tetradic
#2D32C9 #C92D80 #C9C42D #2DC976
square
#2D32C9 #C92D80 #C9C42D #2DC976
split-complementary
#2D32C9 #C9762D #80C92D
monochromatic
#171965 #222697 #2D32C9 #595DDA #8B8EE5

Accessibility & contrast

On white

8.71
#2D32C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D32C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32C9
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32C9#FFFFFF#000000##FFFFFF
##2D32C91.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0043C6
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d32c9;
/* rgb */ color: rgb(45, 50, 201);
/* oklch */ color: oklch(43.4% 0.225 270.9);
Tailwind
colors: {
  custom: {
    50: '#816cdb',
    500: '#2d32c9',
    950: '#000000',
  },
}
SCSS
$custom: #2d32c9;
$custom-light: #816cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32c9",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 238.077,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43416,
    "c": 0.22456,
    "h": 270.9
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#2D32C9
secondary
#CFCD83
accent
#E141E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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