#24269E#24269E

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

Color values

HEX#24269E
RGBrgb(36, 38, 158)
HSLhsl(239, 63%, 38%)
HSVhsv(239, 77%, 62%)
CMYKcmyk(77.2%, 75.9%, 0%, 38%)
CIE-LABlab(24.41, 41.11, -64.33)
CIE-LCHlch(24.41, 76.35, 302.58°)
OKLaboklab(36.59% 0.0056 -0.1862)
OKLCHoklch(36.59% 0.186 271.7)
XYZxyz(7.5901, 4.2291, 32.7574)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24269E #9E9C24
analogous
#24639E #24269E #5F249E
triadic
#24269E #9E2426 #269E24
tetradic
#24269E #9E2463 #9E9C24 #249E5F
square
#24269E #9E2463 #9E9C24 #249E5F
split-complementary
#24269E #9E5F24 #639E24
monochromatic
#0D0E3A #191A6C #24269E #2F32D0 #6163DB

Accessibility & contrast

On white

11.38
#24269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#24269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24269E
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24269E#FFFFFF#000000##FFFFFF
##24269E1.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)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24269e;
/* rgb */ color: rgb(36, 38, 158);
/* oklch */ color: oklch(36.6% 0.186 271.7);
Tailwind
colors: {
  custom: {
    50: '#7462bc',
    500: '#24269e',
    950: '#000000',
  },
}
SCSS
$custom: #24269e;
$custom-light: #7462bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24269e",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 239.016,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36587,
    "c": 0.18633,
    "h": 271.7
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#24269E
secondary
#C0BF5E
accent
#E342E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24269E

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

Preview Lab → · Contrast checker → · Palette generator →

#24269E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva