#2C326F#2C326F

#2C326F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.104 H 275.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2C326F
RGBrgb(44, 50, 111)
HSLhsl(235, 43%, 30%)
HSVhsv(235, 60%, 44%)
CMYKcmyk(60.4%, 55%, 0%, 56.5%)
CIE-LABlab(23.55, 17.46, -36.31)
CIE-LCHlch(23.55, 40.29, 295.67°)
OKLaboklab(34.78% 0.0097 -0.1039)
OKLCHoklch(34.78% 0.104 275.3)
XYZxyz(5.0476, 3.9640, 15.5350)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C326F #6F692C
analogous
#2C536F #2C326F #472C6F
triadic
#2C326F #6F2C32 #326F2C
tetradic
#2C326F #6F2C53 #6F692C #2C6F47
square
#2C326F #6F2C53 #6F692C #2C6F47
split-complementary
#2C326F #6F472C #536F2C
monochromatic
#090B17 #1B1E43 #2C326F #3D469B #5861BD

Accessibility & contrast

On white

11.71
#2C326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C326F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C326F#FFFFFF#000000##FFFFFF
##2C326F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#02356E
Tritanopia (blue-blind)
#02404B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c326f;
/* rgb */ color: rgb(44, 50, 111);
/* oklch */ color: oklch(34.8% 0.104 275.3);
Tailwind
colors: {
  custom: {
    50: '#6c6999',
    500: '#2c326f',
    950: '#000000',
  },
}
SCSS
$custom: #2c326f;
$custom-light: #6c6999;
$custom-dark: #000000;
JSON
{
  "hex": "#2c326f",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 234.627,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.10438,
    "h": 275.3
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#2C326F
secondary
#A19A56
accent
#C855D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C326F

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

Preview Lab → · Contrast checker → · Palette generator →

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