#24248C#24248C

#24248C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.166 H 273.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#24248C
RGBrgb(36, 36, 140)
HSLhsl(240, 59%, 35%)
HSVhsv(240, 74%, 55%)
CMYKcmyk(74.3%, 74.3%, 0%, 45.1%)
CIE-LABlab(22.05, 36.07, -57.13)
CIE-LCHlch(22.05, 67.57, 302.26°)
OKLaboklab(34.33% 0.0098 -0.1653)
OKLCHoklch(34.33% 0.166 273.4)
XYZxyz(6.0905, 3.5297, 25.1662)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24248C #8C8C24
analogous
#24588C #24248C #58248C
triadic
#24248C #8C2424 #248C24
tetradic
#24248C #8C2458 #8C8C24 #248C58
square
#24248C #8C2458 #8C8C24 #248C58
split-complementary
#24248C #8C5824 #588C24
monochromatic
#0B0B2B #17175B #24248C #3131BD #5757D4

Accessibility & contrast

On white

12.31
#24248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#24248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24248C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24248C#FFFFFF#000000##FFFFFF
##24248C1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24248c;
/* rgb */ color: rgb(36, 36, 140);
/* oklch */ color: oklch(34.3% 0.166 273.4);
Tailwind
colors: {
  custom: {
    50: '#7060af',
    500: '#24248c',
    950: '#000000',
  },
}
SCSS
$custom: #24248c;
$custom-light: #7060af;
$custom-dark: #000000;
JSON
{
  "hex": "#24248c",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34328,
    "c": 0.16556,
    "h": 273.4
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#24248C
secondary
#B8B854
accent
#E246E2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #24248C

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

Preview Lab → · Contrast checker → · Palette generator →

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