#24279A#24279A

#24279A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.180 H 271.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#24279A
RGBrgb(36, 39, 154)
HSLhsl(238, 62%, 37%)
HSVhsv(238, 77%, 60%)
CMYKcmyk(76.6%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.19, 39.15, -62.26)
CIE-LCHlch(24.19, 73.55, 302.16°)
OKLaboklab(36.3% 0.0059 -0.1802)
OKLCHoklch(36.3% 0.18 271.9)
XYZxyz(7.2838, 4.1584, 30.9844)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24279A #9A9724
analogous
#24629A #24279A #5C249A
triadic
#24279A #9A2427 #279A24
tetradic
#24279A #9A2462 #9A9724 #249A5C
square
#24279A #9A2462 #9A9724 #249A5C
split-complementary
#24279A #9A5C24 #629A24
monochromatic
#0D0E37 #181A68 #24279A #3034CC #5F62DA

Accessibility & contrast

On white

11.46
#24279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#24279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24279A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24279A#FFFFFF#000000##FFFFFF
##24279A1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24279a;
/* rgb */ color: rgb(36, 39, 154);
/* oklch */ color: oklch(36.3% 0.180 271.9);
Tailwind
colors: {
  custom: {
    50: '#7362b9',
    500: '#24279a',
    950: '#000000',
  },
}
SCSS
$custom: #24279a;
$custom-light: #7362b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24279a",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 238.475,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.18032,
    "h": 271.9
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#24279A
secondary
#BFBC5B
accent
#E143E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24279A

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

Preview Lab → · Contrast checker → · Palette generator →

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