#2D24AE#2D24AE

#2D24AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.205 H 273.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2D24AE
RGBrgb(45, 36, 174)
HSLhsl(244, 66%, 41%)
HSVhsv(244, 79%, 68%)
CMYKcmyk(74.1%, 79.3%, 0%, 31.8%)
CIE-LABlab(26.37, 48.17, -70.76)
CIE-LCHlch(26.37, 85.59, 304.25°)
OKLaboklab(38.64% 0.014 -0.2047)
OKLCHoklch(38.64% 0.205 273.9)
XYZxyz(9.3505, 4.8747, 40.4843)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24AE #A5AE24
analogous
#2460AE #2D24AE #7224AE
triadic
#2D24AE #AE2D24 #24AE2D
tetradic
#2D24AE #AE2460 #A5AE24 #24AE72
square
#2D24AE #AE2460 #A5AE24 #24AE72
split-complementary
#2D24AE #AE7224 #60AE24
monochromatic
#130F49 #201A7B #2D24AE #4339D6 #736CE1

Accessibility & contrast

On white

10.63
#2D24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D24AE
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24AE#FFFFFF#000000##FFFFFF
##2D24AE1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d24ae;
/* rgb */ color: rgb(45, 36, 174);
/* oklch */ color: oklch(38.6% 0.205 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c62c8',
    500: '#2d24ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d24ae;
$custom-light: #7c62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24ae",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 243.913,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.20516,
    "h": 273.9
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#2D24AE
secondary
#C1C767
accent
#E93FDE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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