#2C2592#2C2592

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

Color values

HEX#2C2592
RGBrgb(44, 37, 146)
HSLhsl(244, 60%, 36%)
HSVhsv(244, 75%, 57%)
CMYKcmyk(69.9%, 74.7%, 0%, 42.7%)
CIE-LABlab(23.45, 38.41, -58.53)
CIE-LCHlch(23.45, 70.01, 303.27°)
OKLaboklab(35.66% 0.0185 -0.1692)
OKLCHoklch(35.66% 0.17 276.2)
XYZxyz(6.8869, 3.9333, 27.5848)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2592 #8B9225
analogous
#255492 #2C2592 #622592
triadic
#2C2592 #922C25 #25922C
tetradic
#2C2592 #922554 #8B9225 #259262
square
#2C2592 #922554 #8B9225 #259262
split-complementary
#2C2592 #926225 #549225
monochromatic
#0F0C30 #1D1961 #2C2592 #3B31C3 #645CD6

Accessibility & contrast

On white

11.75
#2C2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2592
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2592#FFFFFF#000000##FFFFFF
##2C25921.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2592;
/* rgb */ color: rgb(44, 37, 146);
/* oklch */ color: oklch(35.7% 0.170 276.2);
Tailwind
colors: {
  custom: {
    50: '#7561b3',
    500: '#2c2592',
    950: '#000000',
  },
}
SCSS
$custom: #2c2592;
$custom-light: #7561b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2592",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 243.853,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35658,
    "c": 0.17016,
    "h": 276.2
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#2C2592
secondary
#B4BA58
accent
#E345D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2592

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

Preview Lab → · Contrast checker → · Palette generator →

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