#2D24D9#2D24D9

#2D24D9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.6% C 0.254 H 270.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2D24D9
RGBrgb(45, 36, 217)
HSLhsl(243, 72%, 50%)
HSVhsv(243, 83%, 85%)
CMYKcmyk(79.3%, 83.4%, 0%, 14.9%)
CIE-LABlab(31.41, 61.16, -87.69)
CIE-LCHlch(31.41, 106.91, 304.89°)
OKLaboklab(43.58% 0.0038 -0.2537)
OKLCHoklch(43.58% 0.254 270.9)
XYZxyz(14.2332, 6.8278, 66.1999)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24D9 #D0D924
analogous
#2476D9 #2D24D9 #8724D9
triadic
#2D24D9 #D92D24 #24D92D
tetradic
#2D24D9 #D92476 #D0D924 #24D987
square
#2D24D9 #D92476 #D0D924 #24D987
split-complementary
#2D24D9 #D98724 #76D924
monochromatic
#171370 #221BA5 #2D24D9 #5E57E3 #908CEC

Accessibility & contrast

On white

8.88
#2D24D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D24D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24D9
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24D9#FFFFFF#000000##FFFFFF
##2D24D91.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053DE
Deuteranopia (green-blind)
#0041D6
Tritanopia (blue-blind)
#006082
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d24d9;
/* rgb */ color: rgb(45, 36, 217);
/* oklch */ color: oklch(43.6% 0.254 270.9);
Tailwind
colors: {
  custom: {
    50: '#8665e6',
    500: '#2d24d9',
    950: '#000000',
  },
}
SCSS
$custom: #2d24d9;
$custom-light: #8665e6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24d9",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 217
  },
  "hsl": {
    "h": 242.983,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.25376,
    "h": 270.9
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#2D24D9
secondary
#D2D683
accent
#EE3AE5
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #2D24D9

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

Preview Lab → · Contrast checker → · Palette generator →

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