#2C329D#2C329D

#2C329D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.170 H 272.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2C329D
RGBrgb(44, 50, 157)
HSLhsl(237, 56%, 39%)
HSVhsv(237, 72%, 62%)
CMYKcmyk(72%, 68.2%, 0%, 38.4%)
CIE-LABlab(27.44, 34.27, -58.73)
CIE-LCHlch(27.44, 68.00, 300.27°)
OKLaboklab(38.85% 0.0085 -0.1697)
OKLCHoklch(38.85% 0.17 272.9)
XYZxyz(8.2631, 5.2502, 32.4697)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C329D #9D972C
analogous
#2C6B9D #2C329D #5F2C9D
triadic
#2C329D #9D2C32 #329D2C
tetradic
#2C329D #9D2C6B #9D972C #2C9D5F
square
#2C329D #9D2C6B #9D972C #2C9D5F
split-complementary
#2C329D #9D5F2C #6B9D2C
monochromatic
#11143D #1F236D #2C329D #3D45C9 #6D73D6

Accessibility & contrast

On white

10.24
#2C329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C329D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C329D#FFFFFF#000000##FFFFFF
##2C329D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c329d;
/* rgb */ color: rgb(44, 50, 157);
/* oklch */ color: oklch(38.9% 0.170 272.9);
Tailwind
colors: {
  custom: {
    50: '#766abb',
    500: '#2c329d',
    950: '#000000',
  },
}
SCSS
$custom: #2c329d;
$custom-light: #766abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c329d",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 236.814,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38851,
    "c": 0.16995,
    "h": 272.9
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#2C329D
secondary
#BDB968
accent
#D748E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C329D

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

Preview Lab → · Contrast checker → · Palette generator →

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