#2C328C#2C328C

#2C328C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.147 H 273.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#2C328C
RGBrgb(44, 50, 140)
HSLhsl(236, 52%, 36%)
HSVhsv(236, 69%, 55%)
CMYKcmyk(68.6%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.89, 28.13, -50.81)
CIE-LCHlch(25.89, 58.08, 298.97°)
OKLaboklab(37.25% 0.0099 -0.1466)
OKLCHoklch(37.25% 0.147 273.9)
XYZxyz(6.9114, 4.7095, 25.3507)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C328C #8C862C
analogous
#2C628C #2C328C #562C8C
triadic
#2C328C #8C2C32 #328C2C
tetradic
#2C328C #8C2C62 #8C862C #2C8C56
square
#2C328C #8C2C62 #8C862C #2C8C56
split-complementary
#2C328C #8C562C #628C2C
monochromatic
#0F112F #1D215D #2C328C #3B43BB #646BCE

Accessibility & contrast

On white

10.81
#2C328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C328C
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C328C#FFFFFF#000000##FFFFFF
##2C328C1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c328c;
/* rgb */ color: rgb(44, 50, 140);
/* oklch */ color: oklch(37.2% 0.147 273.9);
Tailwind
colors: {
  custom: {
    50: '#726aae',
    500: '#2c328c',
    950: '#000000',
  },
}
SCSS
$custom: #2c328c;
$custom-light: #726aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c328c",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 236.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37247,
    "c": 0.14688,
    "h": 273.9
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#2C328C
secondary
#B5AF5F
accent
#D34CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C328C

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

Preview Lab → · Contrast checker → · Palette generator →

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