#24279B#24279B

#24279B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.182 H 271.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#24279B
RGBrgb(36, 39, 155)
HSLhsl(238, 62%, 37%)
HSVhsv(238, 77%, 61%)
CMYKcmyk(76.8%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.30, 39.50, -62.69)
CIE-LCHlch(24.30, 74.10, 302.21°)
OKLaboklab(36.41% 0.0057 -0.1815)
OKLCHoklch(36.41% 0.182 271.8)
XYZxyz(7.3675, 4.1919, 31.4248)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24279B #9B9824
analogous
#24639B #24279B #5C249B
triadic
#24279B #9B2427 #279B24
tetradic
#24279B #9B2463 #9B9824 #249B5C
square
#24279B #9B2463 #9B9824 #249B5C
split-complementary
#24279B #9B5C24 #639B24
monochromatic
#0D0E38 #181B69 #24279B #3033CD #5F63DA

Accessibility & contrast

On white

11.42
#24279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#24279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24279B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24279B#FFFFFF#000000##FFFFFF
##24279B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24279b;
/* rgb */ color: rgb(36, 39, 155);
/* oklch */ color: oklch(36.4% 0.182 271.8);
Tailwind
colors: {
  custom: {
    50: '#7462ba',
    500: '#24279b',
    950: '#000000',
  },
}
SCSS
$custom: #24279b;
$custom-light: #7462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24279b",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 238.487,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36406,
    "c": 0.18157,
    "h": 271.8
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#24279B
secondary
#BFBC5C
accent
#E142E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24279B

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

Preview Lab → · Contrast checker → · Palette generator →

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