#2D24A3#2D24A3

#2D24A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.192 H 275.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2D24A3
RGBrgb(45, 36, 163)
HSLhsl(244, 64%, 39%)
HSVhsv(244, 78%, 64%)
CMYKcmyk(72.4%, 77.9%, 0%, 36.1%)
CIE-LABlab(25.15, 44.66, -66.15)
CIE-LCHlch(25.15, 79.81, 304.03°)
OKLaboklab(37.42% 0.0166 -0.1913)
OKLCHoklch(37.42% 0.192 275)
XYZxyz(8.3217, 4.4632, 35.0661)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24A3 #9AA324
analogous
#245BA3 #2D24A3 #6D24A3
triadic
#2D24A3 #A32D24 #24A32D
tetradic
#2D24A3 #A3245B #9AA324 #24A36D
square
#2D24A3 #A3245B #9AA324 #24A36D
split-complementary
#2D24A3 #A36D24 #5BA324
monochromatic
#110E3F #1F1971 #2D24A3 #3E32D2 #6D65DD

Accessibility & contrast

On white

11.09
#2D24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24A3
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24A3#FFFFFF#000000##FFFFFF
##2D24A31.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d24a3;
/* rgb */ color: rgb(45, 36, 163);
/* oklch */ color: oklch(37.4% 0.192 275.0);
Tailwind
colors: {
  custom: {
    50: '#7961c0',
    500: '#2d24a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d24a3;
$custom-light: #7961c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24a3",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 244.252,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37417,
    "c": 0.19201,
    "h": 275
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#2D24A3
secondary
#BBC260
accent
#E741DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2D24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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