#2D24C1#2D24C1

#2D24C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.227 H 272.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2D24C1
RGBrgb(45, 36, 193)
HSLhsl(243, 69%, 45%)
HSVhsv(243, 81%, 76%)
CMYKcmyk(76.7%, 81.3%, 0%, 24.3%)
CIE-LABlab(28.56, 54.04, -78.43)
CIE-LCHlch(28.56, 95.25, 304.57°)
OKLaboklab(40.79% 0.0095 -0.2269)
OKLCHoklch(40.79% 0.227 272.4)
XYZxyz(11.3355, 5.6687, 50.9385)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24C1 #B8C124
analogous
#246AC1 #2D24C1 #7B24C1
triadic
#2D24C1 #C12D24 #24C12D
tetradic
#2D24C1 #C1246A #B8C124 #24C17B
square
#2D24C1 #C1246A #B8C124 #24C17B
split-complementary
#2D24C1 #C17B24 #6AC124
monochromatic
#15115A #211A8D #2D24C1 #4E46DC #8079E6

Accessibility & contrast

On white

9.84
#2D24C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D24C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24C1
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24C1#FFFFFF#000000##FFFFFF
##2D24C11.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d24c1;
/* rgb */ color: rgb(45, 36, 193);
/* oklch */ color: oklch(40.8% 0.227 272.4);
Tailwind
colors: {
  custom: {
    50: '#8063d5',
    500: '#2d24c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d24c1;
$custom-light: #8063d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24c1",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 243.439,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.22713,
    "h": 272.4
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#2D24C1
secondary
#C9CE73
accent
#EB3CE1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D24C1

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

Preview Lab → · Contrast checker → · Palette generator →

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