#2C2594#2C2594

#2C2594 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.173 H 276.0°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2C2594
RGBrgb(44, 37, 148)
HSLhsl(244, 60%, 36%)
HSVhsv(244, 75%, 58%)
CMYKcmyk(70.3%, 75%, 0%, 42%)
CIE-LABlab(23.66, 39.08, -59.43)
CIE-LCHlch(23.66, 71.12, 303.33°)
OKLaboklab(35.87% 0.0181 -0.1718)
OKLCHoklch(35.87% 0.173 276)
XYZxyz(7.0438, 3.9961, 28.4113)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2594 #8D9425
analogous
#255694 #2C2594 #642594
triadic
#2C2594 #942C25 #25942C
tetradic
#2C2594 #942556 #8D9425 #259464
square
#2C2594 #942556 #8D9425 #259464
split-complementary
#2C2594 #946425 #569425
monochromatic
#0F0D32 #1D1963 #2C2594 #3B31C5 #655DD6

Accessibility & contrast

On white

11.67
#2C2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C2594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2594
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2594#FFFFFF#000000##FFFFFF
##2C25941.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2594;
/* rgb */ color: rgb(44, 37, 148);
/* oklch */ color: oklch(35.9% 0.173 276.0);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2c2594',
    950: '#000000',
  },
}
SCSS
$custom: #2c2594;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2594",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 243.784,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35869,
    "c": 0.17271,
    "h": 276
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#2C2594
secondary
#B5BB59
accent
#E345D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2594

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

Preview Lab → · Contrast checker → · Palette generator →

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