#2C328D#2C328D

#2C328D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.148 H 273.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2C328D
RGBrgb(44, 50, 141)
HSLhsl(236, 52%, 36%)
HSVhsv(236, 69%, 55%)
CMYKcmyk(68.8%, 64.5%, 0%, 44.7%)
CIE-LABlab(25.98, 28.50, -51.29)
CIE-LCHlch(25.98, 58.67, 299.06°)
OKLaboklab(37.34% 0.0098 -0.1479)
OKLCHoklch(37.34% 0.148 273.8)
XYZxyz(6.9854, 4.7391, 25.7408)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C328D #8D872C
analogous
#2C638D #2C328D #572C8D
triadic
#2C328D #8D2C32 #328D2C
tetradic
#2C328D #8D2C63 #8D872C #2C8D57
square
#2C328D #8D2C63 #8D872C #2C8D57
split-complementary
#2C328D #8D572C #638D2C
monochromatic
#0F1130 #1D215E #2C328D #3B43BC #656BCF

Accessibility & contrast

On white

10.78
#2C328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C328D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C328D#FFFFFF#000000##FFFFFF
##2C328D1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c328d;
/* rgb */ color: rgb(44, 50, 141);
/* oklch */ color: oklch(37.3% 0.148 273.8);
Tailwind
colors: {
  custom: {
    50: '#726aaf',
    500: '#2c328d',
    950: '#000000',
  },
}
SCSS
$custom: #2c328d;
$custom-light: #726aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c328d",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 236.289,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37339,
    "c": 0.14828,
    "h": 273.8
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#2C328D
secondary
#B5B060
accent
#D34CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C328D

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

Preview Lab → · Contrast checker → · Palette generator →

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