#2A24BD#2A24BD

#2A24BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.223 H 271.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2A24BD
RGBrgb(42, 36, 189)
HSLhsl(242, 68%, 44%)
HSVhsv(242, 81%, 74%)
CMYKcmyk(77.8%, 81%, 0%, 25.9%)
CIE-LABlab(27.92, 52.63, -77.14)
CIE-LCHlch(27.92, 93.39, 304.31°)
OKLaboklab(40.17% 0.0068 -0.2232)
OKLCHoklch(40.17% 0.223 271.8)
XYZxyz(10.7679, 5.4269, 48.6142)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24BD #B7BD24
analogous
#246BBD #2A24BD #7724BD
triadic
#2A24BD #BD2A24 #24BD2A
tetradic
#2A24BD #BD246B #B7BD24 #24BD77
square
#2A24BD #BD246B #B7BD24 #24BD77
split-complementary
#2A24BD #BD7724 #6BBD24
monochromatic
#131056 #1F1A8A #2A24BD #4943DB #7B76E5

Accessibility & contrast

On white

10.07
#2A24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24BD
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24BD#FFFFFF#000000##FFFFFF
##2A24BD1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a24bd;
/* rgb */ color: rgb(42, 36, 189);
/* oklch */ color: oklch(40.2% 0.223 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e63d2',
    500: '#2a24bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a24bd;
$custom-light: #7e63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24bd",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 242.353,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40165,
    "c": 0.22335,
    "h": 271.8
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#2A24BD
secondary
#C9CC70
accent
#EB3DE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2A24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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