#24147A#24147A

#24147A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.158 H 278.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#24147A
RGBrgb(36, 20, 122)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 84%, 48%)
CMYKcmyk(70.5%, 83.6%, 0%, 52.2%)
CIE-LABlab(16.89, 38.96, -54.28)
CIE-LCHlch(16.89, 66.82, 305.67°)
OKLaboklab(30.1% 0.0224 -0.1568)
OKLCHoklch(30.1% 0.158 278.1)
XYZxyz(4.4894, 2.2801, 18.6121)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24147A #6A7A14
analogous
#14377A #24147A #57147A
triadic
#24147A #7A2414 #147A24
tetradic
#24147A #7A1437 #6A7A14 #147A57
square
#24147A #7A1437 #6A7A14 #147A57
split-complementary
#24147A #7A5714 #377A14
monochromatic
#08041A #140B45 #24147A #341DAF #482CDC

Accessibility & contrast

On white

14.42
#24147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#24147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24147A
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24147A#FFFFFF#000000##FFFFFF
##24147A1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24147a;
/* rgb */ color: rgb(36, 20, 122);
/* oklch */ color: oklch(30.1% 0.158 278.1);
Tailwind
colors: {
  custom: {
    50: '#6d55a2',
    500: '#24147a',
    950: '#000000',
  },
}
SCSS
$custom: #24147a;
$custom-light: #6d55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24147a",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 249.412,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.301,
    "c": 0.15841,
    "h": 278.1
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#24147A
secondary
#9DB03A
accent
#EF39D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24147A

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

Preview Lab → · Contrast checker → · Palette generator →

#24147A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva