#2C2496#2C2496

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

Color values

HEX#2C2496
RGBrgb(44, 36, 150)
HSLhsl(244, 61%, 36%)
HSVhsv(244, 76%, 59%)
CMYKcmyk(70.7%, 76%, 0%, 41.2%)
CIE-LABlab(23.67, 40.32, -60.65)
CIE-LCHlch(23.67, 72.82, 303.62°)
OKLaboklab(35.94% 0.0182 -0.1753)
OKLCHoklch(35.94% 0.176 275.9)
XYZxyz(7.1728, 3.9986, 29.2420)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2496 #8E9624
analogous
#245596 #2C2496 #652496
triadic
#2C2496 #962C24 #24962C
tetradic
#2C2496 #962455 #8E9624 #249665
square
#2C2496 #962455 #8E9624 #249665
split-complementary
#2C2496 #966524 #559624
monochromatic
#0F0C33 #1E1865 #2C2496 #3A30C7 #655CD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2496#FFFFFF#000000##FFFFFF
##2C24961.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)
#003D99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2496;
/* rgb */ color: rgb(44, 36, 150);
/* oklch */ color: oklch(35.9% 0.176 275.9);
Tailwind
colors: {
  custom: {
    50: '#7661b6',
    500: '#2c2496',
    950: '#000000',
  },
}
SCSS
$custom: #2c2496;
$custom-light: #7661b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2496",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 244.211,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35938,
    "c": 0.17624,
    "h": 275.9
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#2C2496
secondary
#B6BD59
accent
#E443D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2496

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

Preview Lab → · Contrast checker → · Palette generator →

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