#2C2396#2C2396

#2C2396 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.177 H 276.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2C2396
RGBrgb(44, 35, 150)
HSLhsl(245, 62%, 36%)
HSVhsv(245, 77%, 59%)
CMYKcmyk(70.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(23.47, 40.88, -60.97)
CIE-LCHlch(23.47, 73.41, 303.84°)
OKLaboklab(35.8% 0.0188 -0.1762)
OKLCHoklch(35.8% 0.177 276.1)
XYZxyz(7.1430, 3.9389, 29.2321)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2396 #8D9623
analogous
#235496 #2C2396 #662396
triadic
#2C2396 #962C23 #23962C
tetradic
#2C2396 #962354 #8D9623 #239666
square
#2C2396 #962354 #8D9623 #239666
split-complementary
#2C2396 #966623 #549623
monochromatic
#0F0C33 #1D1764 #2C2396 #3B2FC8 #655BD9

Accessibility & contrast

On white

11.74
#2C2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2396
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2396#FFFFFF#000000##FFFFFF
##2C23961.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2396;
/* rgb */ color: rgb(44, 35, 150);
/* oklch */ color: oklch(35.8% 0.177 276.1);
Tailwind
colors: {
  custom: {
    50: '#7660b6',
    500: '#2c2396',
    950: '#000000',
  },
}
SCSS
$custom: #2c2396;
$custom-light: #7660b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2396",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 244.696,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35798,
    "c": 0.17725,
    "h": 276.1
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#2C2396
secondary
#B5BD58
accent
#E543D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2396

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

Preview Lab → · Contrast checker → · Palette generator →

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