#24296C#24296C

#24296C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.1% C 0.115 H 274.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#24296C
RGBrgb(36, 41, 108)
HSLhsl(236, 50%, 28%)
HSVhsv(236, 67%, 42%)
CMYKcmyk(66.7%, 62%, 0%, 57.6%)
CIE-LABlab(20.22, 21.03, -39.81)
CIE-LCHlch(20.22, 45.02, 297.85°)
OKLaboklab(32.06% 0.0093 -0.1145)
OKLCHoklch(32.06% 0.115 274.6)
XYZxyz(4.2264, 3.0433, 14.5491)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24296C #6C6724
analogous
#244D6C #24296C #43246C
triadic
#24296C #6C2429 #296C24
tetradic
#24296C #6C244D #6C6724 #246C43
square
#24296C #6C244D #6C6724 #246C43
split-complementary
#24296C #6C4324 #4D6C24
monochromatic
#080917 #15183E #24296C #333A9A #4851C2

Accessibility & contrast

On white

13.05
#24296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#24296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24296C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24296C#FFFFFF#000000##FFFFFF
##24296C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #24296c;
/* rgb */ color: rgb(36, 41, 108);
/* oklch */ color: oklch(32.1% 0.115 274.6);
Tailwind
colors: {
  custom: {
    50: '#686297',
    500: '#24296c',
    950: '#000000',
  },
}
SCSS
$custom: #24296c;
$custom-light: #686297;
$custom-dark: #000000;
JSON
{
  "hex": "#24296c",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 235.833,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.1149,
    "h": 274.6
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#24296C
secondary
#9F994D
accent
#D04EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #24296C

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

Preview Lab → · Contrast checker → · Palette generator →

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