#2D24A5#2D24A5

#2D24A5 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.194 H 274.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2D24A5
RGBrgb(45, 36, 165)
HSLhsl(244, 64%, 39%)
HSVhsv(244, 78%, 65%)
CMYKcmyk(72.7%, 78.2%, 0%, 35.3%)
CIE-LABlab(25.37, 45.31, -66.99)
CIE-LCHlch(25.37, 80.88, 304.07°)
OKLaboklab(37.64% 0.0161 -0.1937)
OKLCHoklch(37.64% 0.194 274.8)
XYZxyz(8.5023, 4.5354, 36.0174)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24A5 #9CA524
analogous
#245CA5 #2D24A5 #6E24A5
triadic
#2D24A5 #A52D24 #24A52D
tetradic
#2D24A5 #A5245C #9CA524 #24A56E
square
#2D24A5 #A5245C #9CA524 #24A56E
split-complementary
#2D24A5 #A56E24 #5CA524
monochromatic
#120E41 #1F1973 #2D24A5 #3F34D3 #6E66DE

Accessibility & contrast

On white

11.01
#2D24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24A5
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24A5#FFFFFF#000000##FFFFFF
##2D24A51.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d24a5;
/* rgb */ color: rgb(45, 36, 165);
/* oklch */ color: oklch(37.6% 0.194 274.8);
Tailwind
colors: {
  custom: {
    50: '#7962c1',
    500: '#2d24a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d24a5;
$custom-light: #7962c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24a5",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 244.186,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37637,
    "c": 0.19442,
    "h": 274.8
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#2D24A5
secondary
#BCC362
accent
#E741DC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2D24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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