#2C2495#2C2495

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

Color values

HEX#2C2495
RGBrgb(44, 36, 149)
HSLhsl(244, 61%, 36%)
HSVhsv(244, 76%, 58%)
CMYKcmyk(70.5%, 75.8%, 0%, 41.6%)
CIE-LABlab(23.56, 39.98, -60.20)
CIE-LCHlch(23.56, 72.27, 303.59°)
OKLaboklab(35.83% 0.0184 -0.174)
OKLCHoklch(35.83% 0.175 276)
XYZxyz(7.0926, 3.9665, 28.8198)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2495 #8D9524
analogous
#245595 #2C2495 #652495
triadic
#2C2495 #952C24 #24952C
tetradic
#2C2495 #952455 #8D9524 #249565
square
#2C2495 #952455 #8D9524 #249565
split-complementary
#2C2495 #956524 #559524
monochromatic
#0F0C32 #1D1864 #2C2495 #3B30C6 #655CD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2495#FFFFFF#000000##FFFFFF
##2C24951.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)
#003D98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2495;
/* rgb */ color: rgb(44, 36, 149);
/* oklch */ color: oklch(35.8% 0.175 276.0);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2c2495',
    950: '#000000',
  },
}
SCSS
$custom: #2c2495;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2495",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 244.248,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35831,
    "c": 0.17499,
    "h": 276
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#2C2495
secondary
#B5BC59
accent
#E444D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2495

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

Preview Lab → · Contrast checker → · Palette generator →

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