#2C328E#2C328E

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

Color values

HEX#2C328E
RGBrgb(44, 50, 142)
HSLhsl(236, 53%, 36%)
HSVhsv(236, 69%, 56%)
CMYKcmyk(69%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.07, 28.86, -51.77)
CIE-LCHlch(26.07, 59.27, 299.14°)
OKLaboklab(37.43% 0.0098 -0.1493)
OKLCHoklch(37.43% 0.15 273.7)
XYZxyz(7.0602, 4.7690, 26.1344)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C328E #8E882C
analogous
#2C638E #2C328E #572C8E
triadic
#2C328E #8E2C32 #328E2C
tetradic
#2C328E #8E2C63 #8E882C #2C8E57
square
#2C328E #8E2C63 #8E882C #2C8E57
split-complementary
#2C328E #8E572C #638E2C
monochromatic
#0F1131 #1E225F #2C328E #3A42BD #656CCF

Accessibility & contrast

On white

10.75
#2C328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C328E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C328E#FFFFFF#000000##FFFFFF
##2C328E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c328e;
/* rgb */ color: rgb(44, 50, 142);
/* oklch */ color: oklch(37.4% 0.150 273.7);
Tailwind
colors: {
  custom: {
    50: '#726ab0',
    500: '#2c328e',
    950: '#000000',
  },
}
SCSS
$custom: #2c328e;
$custom-light: #726ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c328e",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 236.327,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37431,
    "c": 0.14966,
    "h": 273.7
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#2C328E
secondary
#B6B060
accent
#D34CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C328E

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

Preview Lab → · Contrast checker → · Palette generator →

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