#2A24AC#2A24AC

#2A24AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.204 H 273.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2A24AC
RGBrgb(42, 36, 172)
HSLhsl(243, 65%, 41%)
HSVhsv(243, 79%, 67%)
CMYKcmyk(75.6%, 79.1%, 0%, 32.5%)
CIE-LABlab(25.96, 47.30, -70.25)
CIE-LCHlch(25.96, 84.69, 303.95°)
OKLaboklab(38.23% 0.0107 -0.2033)
OKLCHoklch(38.23% 0.204 273)
XYZxyz(9.0296, 4.7316, 39.4591)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24AC #A6AC24
analogous
#2462AC #2A24AC #6E24AC
triadic
#2A24AC #AC2A24 #24AC2A
tetradic
#2A24AC #AC2462 #A6AC24 #24AC6E
square
#2A24AC #AC2462 #A6AC24 #24AC6E
split-complementary
#2A24AC #AC6E24 #62AC24
monochromatic
#110F47 #1E1979 #2A24AC #3F38D5 #706AE0

Accessibility & contrast

On white

10.79
#2A24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24AC
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24AC#FFFFFF#000000##FFFFFF
##2A24AC1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a24ac;
/* rgb */ color: rgb(42, 36, 172);
/* oklch */ color: oklch(38.2% 0.204 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a62c6',
    500: '#2a24ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a24ac;
$custom-light: #7a62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24ac",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 242.647,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.20356,
    "h": 273
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#2A24AC
secondary
#C2C666
accent
#E83FE1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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