#2C328B#2C328B

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

Color values

HEX#2C328B
RGBrgb(44, 50, 139)
HSLhsl(236, 52%, 36%)
HSVhsv(236, 68%, 55%)
CMYKcmyk(68.3%, 64%, 0%, 45.5%)
CIE-LABlab(25.80, 27.77, -50.34)
CIE-LCHlch(25.80, 57.49, 298.88°)
OKLaboklab(37.16% 0.01 -0.1451)
OKLCHoklch(37.16% 0.145 273.9)
XYZxyz(6.8380, 4.6801, 24.9641)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C328B #8B852C
analogous
#2C618B #2C328B #552C8B
triadic
#2C328B #8B2C32 #328B2C
tetradic
#2C328B #8B2C61 #8B852C #2C8B55
square
#2C328B #8B2C61 #8B852C #2C8B55
split-complementary
#2C328B #8B552C #618B2C
monochromatic
#0F112E #1D215D #2C328B #3B43B9 #646ACE

Accessibility & contrast

On white

10.85
#2C328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C328B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C328B#FFFFFF#000000##FFFFFF
##2C328B1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c328b;
/* rgb */ color: rgb(44, 50, 139);
/* oklch */ color: oklch(37.2% 0.145 273.9);
Tailwind
colors: {
  custom: {
    50: '#726aae',
    500: '#2c328b',
    950: '#000000',
  },
}
SCSS
$custom: #2c328b;
$custom-light: #726aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c328b",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 236.211,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.14549,
    "h": 273.9
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#2C328B
secondary
#B4AF5F
accent
#D24CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C328B

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

Preview Lab → · Contrast checker → · Palette generator →

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