#2D24A4#2D24A4

#2D24A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.193 H 274.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2D24A4
RGBrgb(45, 36, 164)
HSLhsl(244, 64%, 39%)
HSVhsv(244, 78%, 64%)
CMYKcmyk(72.6%, 78%, 0%, 35.7%)
CIE-LABlab(25.26, 44.98, -66.57)
CIE-LCHlch(25.26, 80.34, 304.05°)
OKLaboklab(37.53% 0.0164 -0.1925)
OKLCHoklch(37.53% 0.193 274.9)
XYZxyz(8.4117, 4.4992, 35.5399)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24A4 #9BA424
analogous
#245BA4 #2D24A4 #6D24A4
triadic
#2D24A4 #A42D24 #24A42D
tetradic
#2D24A4 #A4245B #9BA424 #24A46D
square
#2D24A4 #A4245B #9BA424 #24A46D
split-complementary
#2D24A4 #A46D24 #5BA424
monochromatic
#110E40 #1F1972 #2D24A4 #3E33D2 #6E65DD

Accessibility & contrast

On white

11.05
#2D24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24A4
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24A4#FFFFFF#000000##FFFFFF
##2D24A41.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d24a4;
/* rgb */ color: rgb(45, 36, 164);
/* oklch */ color: oklch(37.5% 0.193 274.9);
Tailwind
colors: {
  custom: {
    50: '#7962c0',
    500: '#2d24a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d24a4;
$custom-light: #7962c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24a4",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 244.219,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37527,
    "c": 0.19321,
    "h": 274.9
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#2D24A4
secondary
#BCC361
accent
#E741DB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2D24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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