#2D24AC#2D24AC

#2D24AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.203 H 274.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2D24AC
RGBrgb(45, 36, 172)
HSLhsl(244, 65%, 41%)
HSVhsv(244, 79%, 67%)
CMYKcmyk(73.8%, 79.1%, 0%, 32.5%)
CIE-LABlab(26.15, 47.54, -69.93)
CIE-LCHlch(26.15, 84.55, 304.21°)
OKLaboklab(38.41% 0.0145 -0.2023)
OKLCHoklch(38.41% 0.203 274.1)
XYZxyz(9.1570, 4.7973, 39.4651)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24AC #A3AC24
analogous
#245FAC #2D24AC #7124AC
triadic
#2D24AC #AC2D24 #24AC2D
tetradic
#2D24AC #AC245F #A3AC24 #24AC71
square
#2D24AC #AC245F #A3AC24 #24AC71
split-complementary
#2D24AC #AC7124 #5FAC24
monochromatic
#130F47 #201979 #2D24AC #4238D5 #726AE0

Accessibility & contrast

On white

10.72
#2D24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24AC
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24AC#FFFFFF#000000##FFFFFF
##2D24AC1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d24ac;
/* rgb */ color: rgb(45, 36, 172);
/* oklch */ color: oklch(38.4% 0.203 274.1);
Tailwind
colors: {
  custom: {
    50: '#7b62c6',
    500: '#2d24ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d24ac;
$custom-light: #7b62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24ac",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 243.971,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.20279,
    "h": 274.1
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#2D24AC
secondary
#C0C666
accent
#E83FDD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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