#24258D#24258D

#24258D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.166 H 273.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#24258D
RGBrgb(36, 37, 141)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 55%)
CMYKcmyk(74.5%, 73.8%, 0%, 44.7%)
CIE-LABlab(22.38, 35.81, -57.22)
CIE-LCHlch(22.38, 67.50, 302.04°)
OKLaboklab(34.59% 0.0091 -0.1655)
OKLCHoklch(34.59% 0.166 273.1)
XYZxyz(6.1952, 3.6207, 25.5665)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24258D #8D8C24
analogous
#24598D #24258D #58248D
triadic
#24258D #8D2425 #258D24
tetradic
#24258D #8D2459 #8D8C24 #248D58
square
#24258D #8D2459 #8D8C24 #248D58
split-complementary
#24258D #8D5824 #598D24
monochromatic
#0B0B2B #18185C #24258D #3032BE #5758D4

Accessibility & contrast

On white

12.18
#24258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#24258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24258D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24258D#FFFFFF#000000##FFFFFF
##24258D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24258d;
/* rgb */ color: rgb(36, 37, 141);
/* oklch */ color: oklch(34.6% 0.166 273.1);
Tailwind
colors: {
  custom: {
    50: '#7060af',
    500: '#24258d',
    950: '#000000',
  },
}
SCSS
$custom: #24258d;
$custom-light: #7060af;
$custom-dark: #000000;
JSON
{
  "hex": "#24258d",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 239.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34591,
    "c": 0.16578,
    "h": 273.1
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#24258D
secondary
#B8B854
accent
#E145E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #24258D

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

Preview Lab → · Contrast checker → · Palette generator →

#24258D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva