#2C329F#2C329F

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

Color values

HEX#2C329F
RGBrgb(44, 50, 159)
HSLhsl(237, 57%, 40%)
HSVhsv(237, 72%, 62%)
CMYKcmyk(72.3%, 68.6%, 0%, 37.6%)
CIE-LABlab(27.62, 34.99, -59.64)
CIE-LCHlch(27.62, 69.14, 300.40°)
OKLaboklab(39.05% 0.0083 -0.1724)
OKLCHoklch(39.05% 0.173 272.8)
XYZxyz(8.4352, 5.3190, 33.3763)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C329F #9F992C
analogous
#2C6B9F #2C329F #602C9F
triadic
#2C329F #9F2C32 #329F2C
tetradic
#2C329F #9F2C6B #9F992C #2C9F60
square
#2C329F #9F2C6B #9F992C #2C9F60
split-complementary
#2C329F #9F602C #6B9F2C
monochromatic
#11143F #1F236F #2C329F #3E46CA #6E74D7

Accessibility & contrast

On white

10.17
#2C329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C329F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C329F#FFFFFF#000000##FFFFFF
##2C329F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c329f;
/* rgb */ color: rgb(44, 50, 159);
/* oklch */ color: oklch(39.0% 0.173 272.8);
Tailwind
colors: {
  custom: {
    50: '#766abc',
    500: '#2c329f',
    950: '#000000',
  },
}
SCSS
$custom: #2c329f;
$custom-light: #766abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c329f",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 236.87,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.17259,
    "h": 272.8
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#2C329F
secondary
#BEBA69
accent
#D848E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C329F

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

Preview Lab → · Contrast checker → · Palette generator →

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