#24279C#24279C

#24279C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.183 H 271.7°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#24279C
RGBrgb(36, 39, 156)
HSLhsl(239, 63%, 38%)
HSVhsv(239, 77%, 61%)
CMYKcmyk(76.9%, 75%, 0%, 38.8%)
CIE-LABlab(24.40, 39.84, -63.13)
CIE-LCHlch(24.40, 74.65, 302.26°)
OKLaboklab(36.51% 0.0056 -0.1827)
OKLCHoklch(36.51% 0.183 271.7)
XYZxyz(7.4518, 4.2256, 31.8689)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24279C #9C9924
analogous
#24639C #24279C #5D249C
triadic
#24279C #9C2427 #279C24
tetradic
#24279C #9C2463 #9C9924 #249C5D
square
#24279C #9C2463 #9C9924 #249C5D
split-complementary
#24279C #9C5D24 #639C24
monochromatic
#0D0E39 #191B6A #24279C #2F33CE #6063DA

Accessibility & contrast

On white

11.38
#24279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#24279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24279C
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24279C#FFFFFF#000000##FFFFFF
##24279C1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24279c;
/* rgb */ color: rgb(36, 39, 156);
/* oklch */ color: oklch(36.5% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#7462ba',
    500: '#24279c',
    950: '#000000',
  },
}
SCSS
$custom: #24279c;
$custom-light: #7462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24279c",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 238.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36514,
    "c": 0.18282,
    "h": 271.7
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#24279C
secondary
#BFBD5C
accent
#E142E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24279C

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

Preview Lab → · Contrast checker → · Palette generator →

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