#2C2595#2C2595

#2C2595 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.174 H 275.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2C2595
RGBrgb(44, 37, 149)
HSLhsl(244, 60%, 36%)
HSVhsv(244, 75%, 58%)
CMYKcmyk(70.5%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.76, 39.41, -59.87)
CIE-LCHlch(23.76, 71.68, 303.36°)
OKLaboklab(35.98% 0.0179 -0.173)
OKLCHoklch(35.98% 0.174 275.9)
XYZxyz(7.1233, 4.0279, 28.8300)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2595 #8E9525
analogous
#255695 #2C2595 #642595
triadic
#2C2595 #952C25 #25952C
tetradic
#2C2595 #952556 #8E9525 #259564
square
#2C2595 #952556 #8E9525 #259564
split-complementary
#2C2595 #956425 #569525
monochromatic
#0F0D33 #1E1964 #2C2595 #3A31C6 #655ED7

Accessibility & contrast

On white

11.63
#2C2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2595
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2595#FFFFFF#000000##FFFFFF
##2C25951.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2595;
/* rgb */ color: rgb(44, 37, 149);
/* oklch */ color: oklch(36.0% 0.174 275.9);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2c2595',
    950: '#000000',
  },
}
SCSS
$custom: #2c2595;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2595",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 243.75,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35975,
    "c": 0.17397,
    "h": 275.9
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#2C2595
secondary
#B6BC5A
accent
#E344D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2595

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

Preview Lab → · Contrast checker → · Palette generator →

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