#24298E#24298E

#24298E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.163 H 272.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#24298E
RGBrgb(36, 41, 142)
HSLhsl(237, 60%, 35%)
HSVhsv(237, 75%, 56%)
CMYKcmyk(74.6%, 71.1%, 0%, 44.3%)
CIE-LABlab(23.38, 33.68, -56.18)
CIE-LCHlch(23.38, 65.50, 300.94°)
OKLaboklab(35.35% 0.0067 -0.1625)
OKLCHoklch(35.35% 0.163 272.3)
XYZxyz(6.4013, 3.9133, 26.0039)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24298E #8E8924
analogous
#245E8E #24298E #54248E
triadic
#24298E #8E2429 #298E24
tetradic
#24298E #8E245E #8E8924 #248E54
square
#24298E #8E245E #8E8924 #248E54
split-complementary
#24298E #8E5424 #5E8E24
monochromatic
#0B0D2C #181B5D #24298E #3037BF #585ED5

Accessibility & contrast

On white

11.78
#24298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#24298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24298E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24298E#FFFFFF#000000##FFFFFF
##24298E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24298e;
/* rgb */ color: rgb(36, 41, 142);
/* oklch */ color: oklch(35.3% 0.163 272.3);
Tailwind
colors: {
  custom: {
    50: '#7063b0',
    500: '#24298e',
    950: '#000000',
  },
}
SCSS
$custom: #24298e;
$custom-light: #7063b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24298e",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 237.17,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35345,
    "c": 0.16266,
    "h": 272.3
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#24298E
secondary
#B9B455
accent
#DB45E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #24298E

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

Preview Lab → · Contrast checker → · Palette generator →

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