#2A24A3#2A24A3

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

Color values

HEX#2A24A3
RGBrgb(42, 36, 163)
HSLhsl(243, 64%, 39%)
HSVhsv(243, 78%, 64%)
CMYKcmyk(74.2%, 77.9%, 0%, 36.1%)
CIE-LABlab(24.94, 44.40, -66.49)
CIE-LCHlch(24.94, 79.95, 303.73°)
OKLaboklab(37.22% 0.0127 -0.1923)
OKLCHoklch(37.22% 0.193 273.8)
XYZxyz(8.1944, 4.3975, 35.0602)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24A3 #9DA324
analogous
#245EA3 #2A24A3 #6A24A3
triadic
#2A24A3 #A32A24 #24A32A
tetradic
#2A24A3 #A3245E #9DA324 #24A36A
square
#2A24A3 #A3245E #9DA324 #24A36A
split-complementary
#2A24A3 #A36A24 #5EA324
monochromatic
#100E3F #1D1971 #2A24A3 #3A32D2 #6A65DD

Accessibility & contrast

On white

11.17
#2A24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A24A3
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24A3#FFFFFF#000000##FFFFFF
##2A24A31.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a24a3;
/* rgb */ color: rgb(42, 36, 163);
/* oklch */ color: oklch(37.2% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#7861c0',
    500: '#2a24a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a24a3;
$custom-light: #7861c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24a3",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 242.835,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.19277,
    "h": 273.8
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#2A24A3
secondary
#BEC260
accent
#E741DF
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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