#2C24A0#2C24A0

#2C24A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.189 H 274.9°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2C24A0
RGBrgb(44, 36, 160)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 78%, 63%)
CMYKcmyk(72.5%, 77.5%, 0%, 37.3%)
CIE-LABlab(24.75, 43.60, -64.98)
CIE-LCHlch(24.75, 78.26, 303.86°)
OKLaboklab(37.02% 0.016 -0.1879)
OKLCHoklch(37.02% 0.189 274.9)
XYZxyz(8.0126, 4.3345, 33.6653)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24A0 #98A024
analogous
#245AA0 #2C24A0 #6A24A0
triadic
#2C24A0 #A02C24 #24A02C
tetradic
#2C24A0 #A0245A #98A024 #24A06A
square
#2C24A0 #A0245A #98A024 #24A06A
split-complementary
#2C24A0 #A06A24 #5AA024
monochromatic
#110E3C #1E196E #2C24A0 #3B31D1 #6A63DC

Accessibility & contrast

On white

11.25
#2C24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24A0
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24A0#FFFFFF#000000##FFFFFF
##2C24A01.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c24a0;
/* rgb */ color: rgb(44, 36, 160);
/* oklch */ color: oklch(37.0% 0.189 274.9);
Tailwind
colors: {
  custom: {
    50: '#7861bd',
    500: '#2c24a0',
    950: '#000000',
  },
}
SCSS
$custom: #2c24a0;
$custom-light: #7861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24a0",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 243.871,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37021,
    "c": 0.18861,
    "h": 274.9
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#2C24A0
secondary
#BBC15F
accent
#E641DC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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