#2C2295#2C2295

#2C2295 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.177 H 276.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2C2295
RGBrgb(44, 34, 149)
HSLhsl(245, 63%, 36%)
HSVhsv(245, 77%, 58%)
CMYKcmyk(70.5%, 77.2%, 0%, 41.6%)
CIE-LABlab(23.17, 41.10, -60.86)
CIE-LCHlch(23.17, 73.44, 304.04°)
OKLaboklab(35.55% 0.0195 -0.1759)
OKLCHoklch(35.55% 0.177 276.3)
XYZxyz(7.0338, 3.8488, 28.8002)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2295 #8B9522
analogous
#225195 #2C2295 #652295
triadic
#2C2295 #952C22 #22952C
tetradic
#2C2295 #952251 #8B9522 #229565
square
#2C2295 #952251 #8B9522 #229565
split-complementary
#2C2295 #956522 #519522
monochromatic
#0F0B31 #1D1763 #2C2295 #3B2DC7 #6458D9

Accessibility & contrast

On white

11.87
#2C2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2295
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2295#FFFFFF#000000##FFFFFF
##2C22951.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2295;
/* rgb */ color: rgb(44, 34, 149);
/* oklch */ color: oklch(35.6% 0.177 276.3);
Tailwind
colors: {
  custom: {
    50: '#765fb5',
    500: '#2c2295',
    950: '#000000',
  },
}
SCSS
$custom: #2c2295;
$custom-light: #765fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2295",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 245.217,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35552,
    "c": 0.17698,
    "h": 276.3
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#2C2295
secondary
#B4BD56
accent
#E642D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2295

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

Preview Lab → · Contrast checker → · Palette generator →

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