#2C329E#2C329E

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

Color values

HEX#2C329E
RGBrgb(44, 50, 158)
HSLhsl(237, 56%, 40%)
HSVhsv(237, 72%, 62%)
CMYKcmyk(72.2%, 68.4%, 0%, 38%)
CIE-LABlab(27.53, 34.63, -59.18)
CIE-LCHlch(27.53, 68.57, 300.33°)
OKLaboklab(38.95% 0.0084 -0.1711)
OKLCHoklch(38.95% 0.171 272.8)
XYZxyz(8.3488, 5.2845, 32.9211)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C329E #9E982C
analogous
#2C6B9E #2C329E #5F2C9E
triadic
#2C329E #9E2C32 #329E2C
tetradic
#2C329E #9E2C6B #9E982C #2C9E5F
square
#2C329E #9E2C6B #9E982C #2C9E5F
split-complementary
#2C329E #9E5F2C #6B9E2C
monochromatic
#11143E #1F236E #2C329E #3E45C9 #6E73D7

Accessibility & contrast

On white

10.21
#2C329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C329E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C329E#FFFFFF#000000##FFFFFF
##2C329E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c329e;
/* rgb */ color: rgb(44, 50, 158);
/* oklch */ color: oklch(38.9% 0.171 272.8);
Tailwind
colors: {
  custom: {
    50: '#766abc',
    500: '#2c329e',
    950: '#000000',
  },
}
SCSS
$custom: #2c329e;
$custom-light: #766abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c329e",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 236.842,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.17128,
    "h": 272.8
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#2C329E
secondary
#BEB968
accent
#D848E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C329E

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

Preview Lab → · Contrast checker → · Palette generator →

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