#2D24A9#2D24A9

#2D24A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.199 H 274.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2D24A9
RGBrgb(45, 36, 169)
HSLhsl(244, 65%, 40%)
HSVhsv(244, 79%, 66%)
CMYKcmyk(73.4%, 78.7%, 0%, 33.7%)
CIE-LABlab(25.81, 46.58, -68.68)
CIE-LCHlch(25.81, 82.99, 304.15°)
OKLaboklab(38.08% 0.0152 -0.1986)
OKLCHoklch(38.08% 0.199 274.4)
XYZxyz(8.8721, 4.6833, 37.9648)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24A9 #A0A924
analogous
#245EA9 #2D24A9 #6F24A9
triadic
#2D24A9 #A92D24 #24A92D
tetradic
#2D24A9 #A9245E #A0A924 #24A96F
square
#2D24A9 #A9245E #A0A924 #24A96F
split-complementary
#2D24A9 #A96F24 #5EA924
monochromatic
#120F44 #201977 #2D24A9 #4136D4 #7068DF

Accessibility & contrast

On white

10.84
#2D24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24A9
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24A9#FFFFFF#000000##FFFFFF
##2D24A91.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d24a9;
/* rgb */ color: rgb(45, 36, 169);
/* oklch */ color: oklch(38.1% 0.199 274.4);
Tailwind
colors: {
  custom: {
    50: '#7a62c4',
    500: '#2d24a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d24a9;
$custom-light: #7a62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24a9",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 244.06,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3808,
    "c": 0.19922,
    "h": 274.4
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#2D24A9
secondary
#BEC564
accent
#E840DC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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