#2D24A1#2D24A1

#2D24A1 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.190 H 275.2°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2D24A1
RGBrgb(45, 36, 161)
HSLhsl(244, 63%, 39%)
HSVhsv(244, 78%, 63%)
CMYKcmyk(72%, 77.6%, 0%, 36.9%)
CIE-LABlab(24.93, 44.02, -65.29)
CIE-LCHlch(24.93, 78.75, 303.99°)
OKLaboklab(37.2% 0.0171 -0.1888)
OKLCHoklch(37.2% 0.19 275.2)
XYZxyz(8.1440, 4.3921, 34.1299)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24A1 #98A124
analogous
#2459A1 #2D24A1 #6B24A1
triadic
#2D24A1 #A12D24 #24A12D
tetradic
#2D24A1 #A12459 #98A124 #24A16B
square
#2D24A1 #A12459 #98A124 #24A16B
split-complementary
#2D24A1 #A16B24 #59A124
monochromatic
#110E3D #1F196F #2D24A1 #3D31D1 #6C63DC

Accessibility & contrast

On white

11.18
#2D24A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D24A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24A1
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24A1#FFFFFF#000000##FFFFFF
##2D24A11.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d24a1;
/* rgb */ color: rgb(45, 36, 161);
/* oklch */ color: oklch(37.2% 0.190 275.2);
Tailwind
colors: {
  custom: {
    50: '#7961be',
    500: '#2d24a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d24a1;
$custom-light: #7961be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24a1",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 244.32,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37198,
    "c": 0.18958,
    "h": 275.2
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#2D24A1
secondary
#BAC25F
accent
#E641DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D24A1

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

Preview Lab → · Contrast checker → · Palette generator →

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