#2C24A2#2C24A2

#2C24A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.191 H 274.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2C24A2
RGBrgb(44, 36, 162)
HSLhsl(244, 64%, 39%)
HSVhsv(244, 78%, 64%)
CMYKcmyk(72.8%, 77.8%, 0%, 36.5%)
CIE-LABlab(24.97, 44.25, -65.84)
CIE-LCHlch(24.97, 79.33, 303.90°)
OKLaboklab(37.24% 0.0155 -0.1904)
OKLCHoklch(37.24% 0.191 274.7)
XYZxyz(8.1890, 4.4051, 34.5941)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24A2 #9AA224
analogous
#245BA2 #2C24A2 #6B24A2
triadic
#2C24A2 #A22C24 #24A22C
tetradic
#2C24A2 #A2245B #9AA224 #24A26B
square
#2C24A2 #A2245B #9AA224 #24A26B
split-complementary
#2C24A2 #A26B24 #5BA224
monochromatic
#110E3E #1E1970 #2C24A2 #3C32D1 #6C64DD

Accessibility & contrast

On white

11.16
#2C24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24A2
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24A2#FFFFFF#000000##FFFFFF
##2C24A21.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c24a2;
/* rgb */ color: rgb(44, 36, 162);
/* oklch */ color: oklch(37.2% 0.191 274.7);
Tailwind
colors: {
  custom: {
    50: '#7861bf',
    500: '#2c24a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c24a2;
$custom-light: #7861bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24a2",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 243.81,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37241,
    "c": 0.19104,
    "h": 274.7
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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