#2A24D4#2A24D4

#2A24D4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.8% C 0.249 H 270.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2A24D4
RGBrgb(42, 36, 212)
HSLhsl(242, 71%, 49%)
HSVhsv(242, 83%, 83%)
CMYKcmyk(80.2%, 83%, 0%, 16.9%)
CIE-LABlab(30.65, 59.56, -86.06)
CIE-LCHlch(30.65, 104.66, 304.68°)
OKLaboklab(42.84% 0.0017 -0.2491)
OKLCHoklch(42.84% 0.249 270.4)
XYZxyz(13.4654, 6.5059, 62.8207)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24D4 #CED424
analogous
#2476D4 #2A24D4 #8224D4
triadic
#2A24D4 #D42A24 #24D42A
tetradic
#2A24D4 #D42476 #CED424 #24D482
square
#2A24D4 #D42476 #CED424 #24D482
split-complementary
#2A24D4 #D48224 #76D424
monochromatic
#15126B #201BA0 #2A24D4 #5853E2 #8B88EB

Accessibility & contrast

On white

9.12
#2A24D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A24D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24D4
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24D4#FFFFFF#000000##FFFFFF
##2A24D41.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D9
Deuteranopia (green-blind)
#003FD1
Tritanopia (blue-blind)
#005E7F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a24d4;
/* rgb */ color: rgb(42, 36, 212);
/* oklch */ color: oklch(42.8% 0.249 270.4);
Tailwind
colors: {
  custom: {
    50: '#8465e3',
    500: '#2a24d4',
    950: '#000000',
  },
}
SCSS
$custom: #2a24d4;
$custom-light: #8465e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24d4",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 212
  },
  "hsl": {
    "h": 242.045,
    "s": 70.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.24907,
    "h": 270.4
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#2A24D4
secondary
#D1D480
accent
#EE3AE8
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2A24D4

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

Preview Lab → · Contrast checker → · Palette generator →

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