#2C24A3#2C24A3

#2C24A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.192 H 274.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2C24A3
RGBrgb(44, 36, 163)
HSLhsl(244, 64%, 39%)
HSVhsv(244, 78%, 64%)
CMYKcmyk(73%, 77.9%, 0%, 36.1%)
CIE-LABlab(25.08, 44.57, -66.26)
CIE-LCHlch(25.08, 79.86, 303.93°)
OKLaboklab(37.35% 0.0153 -0.1916)
OKLCHoklch(37.35% 0.192 274.6)
XYZxyz(8.2783, 4.4408, 35.0641)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24A3 #9BA324
analogous
#245BA3 #2C24A3 #6C24A3
triadic
#2C24A3 #A32C24 #24A32C
tetradic
#2C24A3 #A3245B #9BA324 #24A36C
square
#2C24A3 #A3245B #9BA324 #24A36C
split-complementary
#2C24A3 #A36C24 #5BA324
monochromatic
#110E3F #1E1971 #2C24A3 #3C32D2 #6C65DD

Accessibility & contrast

On white

11.12
#2C24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24A3
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24A3#FFFFFF#000000##FFFFFF
##2C24A31.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c24a3;
/* rgb */ color: rgb(44, 36, 163);
/* oklch */ color: oklch(37.4% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#7961c0',
    500: '#2c24a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c24a3;
$custom-light: #7961c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24a3",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 243.78,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37351,
    "c": 0.19226,
    "h": 274.6
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#2C24A3
secondary
#BCC260
accent
#E741DC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2C24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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