#2C24AF#2C24AF

#2C24AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.207 H 273.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2C24AF
RGBrgb(44, 36, 175)
HSLhsl(243, 66%, 41%)
HSVhsv(243, 79%, 69%)
CMYKcmyk(74.9%, 79.4%, 0%, 31.4%)
CIE-LABlab(26.42, 48.41, -71.28)
CIE-LCHlch(26.42, 86.16, 304.18°)
OKLaboklab(38.69% 0.0125 -0.2062)
OKLCHoklch(38.69% 0.207 273.5)
XYZxyz(9.4049, 4.8914, 40.9976)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24AF #A7AF24
analogous
#2462AF #2C24AF #7224AF
triadic
#2C24AF #AF2C24 #24AF2C
tetradic
#2C24AF #AF2462 #A7AF24 #24AF72
square
#2C24AF #AF2462 #A7AF24 #24AF72
split-complementary
#2C24AF #AF7224 #62AF24
monochromatic
#120F49 #1F1A7C #2C24AF #433AD6 #736DE1

Accessibility & contrast

On white

10.61
#2C24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24AF
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24AF#FFFFFF#000000##FFFFFF
##2C24AF1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c24af;
/* rgb */ color: rgb(44, 36, 175);
/* oklch */ color: oklch(38.7% 0.207 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b62c8',
    500: '#2c24af',
    950: '#000000',
  },
}
SCSS
$custom: #2c24af;
$custom-light: #7b62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24af",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 243.453,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38687,
    "c": 0.20659,
    "h": 273.5
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#2C24AF
secondary
#C2C768
accent
#E93FDF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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