#24246E#24246E

#24246E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.125 H 276.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#24246E
RGBrgb(36, 36, 110)
HSLhsl(240, 51%, 29%)
HSVhsv(240, 67%, 43%)
CMYKcmyk(67.3%, 67.3%, 0%, 56.9%)
CIE-LABlab(19.07, 25.23, -42.98)
CIE-LCHlch(19.07, 49.84, 300.42°)
OKLaboklab(31.27% 0.0139 -0.1239)
OKLCHoklch(31.27% 0.125 276.4)
XYZxyz(4.1720, 2.7623, 15.0621)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24246E #6E6E24
analogous
#24496E #24246E #49246E
triadic
#24246E #6E2424 #246E24
tetradic
#24246E #6E2449 #6E6E24 #246E49
square
#24246E #6E2449 #6E6E24 #246E49
split-complementary
#24246E #6E4924 #496E24
monochromatic
#080817 #151540 #24246E #33339C #4949C3

Accessibility & contrast

On white

13.53
#24246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#24246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24246E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24246E#FFFFFF#000000##FFFFFF
##24246E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24246e;
/* rgb */ color: rgb(36, 36, 110);
/* oklch */ color: oklch(31.3% 0.125 276.4);
Tailwind
colors: {
  custom: {
    50: '#695f98',
    500: '#24246e',
    950: '#000000',
  },
}
SCSS
$custom: #24246e;
$custom-light: #695f98;
$custom-dark: #000000;
JSON
{
  "hex": "#24246e",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31266,
    "c": 0.12466,
    "h": 276.4
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#24246E
secondary
#A1A14D
accent
#DA4EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24246E

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

Preview Lab → · Contrast checker → · Palette generator →

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