#24296E#24296E

#24296E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.118 H 274.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#24296E
RGBrgb(36, 41, 110)
HSLhsl(236, 51%, 29%)
HSVhsv(236, 67%, 43%)
CMYKcmyk(67.3%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.39, 21.79, -40.82)
CIE-LCHlch(20.39, 46.28, 298.09°)
OKLaboklab(32.24% 0.0093 -0.1175)
OKLCHoklch(32.24% 0.118 274.5)
XYZxyz(4.3340, 3.0864, 15.1162)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24296E #6E6924
analogous
#244E6E #24296E #44246E
triadic
#24296E #6E2429 #296E24
tetradic
#24296E #6E244E #6E6924 #246E44
square
#24296E #6E244E #6E6924 #246E44
split-complementary
#24296E #6E4424 #4E6E24
monochromatic
#080917 #151840 #24296E #333A9C #4951C3

Accessibility & contrast

On white

12.98
#24296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#24296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24296E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24296E#FFFFFF#000000##FFFFFF
##24296E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #24296e;
/* rgb */ color: rgb(36, 41, 110);
/* oklch */ color: oklch(32.2% 0.118 274.5);
Tailwind
colors: {
  custom: {
    50: '#686298',
    500: '#24296e',
    950: '#000000',
  },
}
SCSS
$custom: #24296e;
$custom-light: #686298;
$custom-dark: #000000;
JSON
{
  "hex": "#24296e",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 235.946,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32237,
    "c": 0.11789,
    "h": 274.5
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#24296E
secondary
#A19B4D
accent
#D14EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #24296E

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

Preview Lab → · Contrast checker → · Palette generator →

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