#24296F#24296F

#24296F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.119 H 274.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#24296F
RGBrgb(36, 41, 111)
HSLhsl(236, 51%, 29%)
HSVhsv(236, 68%, 44%)
CMYKcmyk(67.6%, 63.1%, 0%, 56.5%)
CIE-LABlab(20.47, 22.17, -41.33)
CIE-LCHlch(20.47, 46.90, 298.21°)
OKLaboklab(32.33% 0.0093 -0.119)
OKLCHoklch(32.33% 0.119 274.4)
XYZxyz(4.3888, 3.1083, 15.4045)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24296F #6F6A24
analogous
#244F6F #24296F #45246F
triadic
#24296F #6F2429 #296F24
tetradic
#24296F #6F244F #6F6A24 #246F45
square
#24296F #6F244F #6F6A24 #246F45
split-complementary
#24296F #6F4524 #4F6F24
monochromatic
#070917 #151841 #24296F #333A9D #4952C4

Accessibility & contrast

On white

12.95
#24296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24296F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24296F#FFFFFF#000000##FFFFFF
##24296F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24296f;
/* rgb */ color: rgb(36, 41, 111);
/* oklch */ color: oklch(32.3% 0.119 274.4);
Tailwind
colors: {
  custom: {
    50: '#696299',
    500: '#24296f',
    950: '#000000',
  },
}
SCSS
$custom: #24296f;
$custom-light: #696299;
$custom-dark: #000000;
JSON
{
  "hex": "#24296f",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 236,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32328,
    "c": 0.11936,
    "h": 274.4
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#24296F
secondary
#A29C4D
accent
#D14DDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #24296F

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

Preview Lab → · Contrast checker → · Palette generator →

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