#24258B#24258B

#24258B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.163 H 273.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#24258B
RGBrgb(36, 37, 139)
HSLhsl(239, 59%, 34%)
HSVhsv(239, 74%, 55%)
CMYKcmyk(74.1%, 73.4%, 0%, 45.5%)
CIE-LABlab(22.17, 35.10, -56.32)
CIE-LCHlch(22.17, 66.37, 301.94°)
OKLaboklab(34.38% 0.0094 -0.1629)
OKLCHoklch(34.38% 0.163 273.3)
XYZxyz(6.0478, 3.5617, 24.7898)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24258B #8B8A24
analogous
#24598B #24258B #56248B
triadic
#24258B #8B2425 #258B24
tetradic
#24258B #8B2459 #8B8A24 #248B56
square
#24258B #8B2459 #8B8A24 #248B56
split-complementary
#24258B #8B5624 #598B24
monochromatic
#0B0B2A #17185A #24258B #3132BC #5657D3

Accessibility & contrast

On white

12.26
#24258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#24258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24258B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24258B#FFFFFF#000000##FFFFFF
##24258B1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24258b;
/* rgb */ color: rgb(36, 37, 139);
/* oklch */ color: oklch(34.4% 0.163 273.3);
Tailwind
colors: {
  custom: {
    50: '#7060ae',
    500: '#24258b',
    950: '#000000',
  },
}
SCSS
$custom: #24258b;
$custom-light: #7060ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24258b",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 239.417,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34379,
    "c": 0.16318,
    "h": 273.3
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#24258B
secondary
#B7B753
accent
#E146E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #24258B

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

Preview Lab → · Contrast checker → · Palette generator →

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