#2C328F#2C328F

#2C328F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.151 H 273.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2C328F
RGBrgb(44, 50, 143)
HSLhsl(236, 53%, 37%)
HSVhsv(236, 69%, 56%)
CMYKcmyk(69.2%, 65%, 0%, 43.9%)
CIE-LABlab(26.15, 29.23, -52.24)
CIE-LCHlch(26.15, 59.86, 299.23°)
OKLaboklab(37.52% 0.0097 -0.1507)
OKLCHoklch(37.52% 0.151 273.7)
XYZxyz(7.1356, 4.7992, 26.5316)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C328F #8F892C
analogous
#2C648F #2C328F #582C8F
triadic
#2C328F #8F2C32 #328F2C
tetradic
#2C328F #8F2C64 #8F892C #2C8F58
square
#2C328F #8F2C64 #8F892C #2C8F58
split-complementary
#2C328F #8F582C #648F2C
monochromatic
#0F1131 #1E2260 #2C328F #3A42BE #666CD0

Accessibility & contrast

On white

10.71
#2C328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C328F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C328F#FFFFFF#000000##FFFFFF
##2C328F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c328f;
/* rgb */ color: rgb(44, 50, 143);
/* oklch */ color: oklch(37.5% 0.151 273.7);
Tailwind
colors: {
  custom: {
    50: '#736ab1',
    500: '#2c328f',
    950: '#000000',
  },
}
SCSS
$custom: #2c328f;
$custom-light: #736ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c328f",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 236.364,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.15104,
    "h": 273.7
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#2C328F
secondary
#B6B161
accent
#D44BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C328F

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

Preview Lab → · Contrast checker → · Palette generator →

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