#2C2691#2C2691

#2C2691 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.168 H 276.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2C2691
RGBrgb(44, 38, 145)
HSLhsl(243, 58%, 36%)
HSVhsv(243, 74%, 57%)
CMYKcmyk(69.7%, 73.8%, 0%, 43.1%)
CIE-LABlab(23.56, 37.48, -57.74)
CIE-LCHlch(23.56, 68.84, 302.99°)
OKLaboklab(35.7% 0.018 -0.1668)
OKLCHoklch(35.7% 0.168 276.2)
XYZxyz(6.8410, 3.9654, 27.1875)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2691 #8B9126
analogous
#265691 #2C2691 #612691
triadic
#2C2691 #912C26 #26912C
tetradic
#2C2691 #912656 #8B9126 #269161
square
#2C2691 #912656 #8B9126 #269161
split-complementary
#2C2691 #916126 #569126
monochromatic
#0F0D30 #1D1961 #2C2691 #3B33C1 #645DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2691#FFFFFF#000000##FFFFFF
##2C26911.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)
#003D94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2691;
/* rgb */ color: rgb(44, 38, 145);
/* oklch */ color: oklch(35.7% 0.168 276.2);
Tailwind
colors: {
  custom: {
    50: '#7462b2',
    500: '#2c2691',
    950: '#000000',
  },
}
SCSS
$custom: #2c2691;
$custom-light: #7462b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2691",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 243.364,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35703,
    "c": 0.16781,
    "h": 276.2
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#2C2691
secondary
#B4BA59
accent
#E246D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2691

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

Preview Lab → · Contrast checker → · Palette generator →

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