#24258A#24258A

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

Color values

HEX#24258A
RGBrgb(36, 37, 138)
HSLhsl(239, 59%, 34%)
HSVhsv(239, 74%, 54%)
CMYKcmyk(73.9%, 73.2%, 0%, 45.9%)
CIE-LABlab(22.06, 34.75, -55.87)
CIE-LCHlch(22.06, 65.79, 301.88°)
OKLaboklab(34.27% 0.0096 -0.1616)
OKLCHoklch(34.27% 0.162 273.4)
XYZxyz(5.9750, 3.5326, 24.4068)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24258A #8A8924
analogous
#24588A #24258A #56248A
triadic
#24258A #8A2425 #258A24
tetradic
#24258A #8A2458 #8A8924 #248A56
square
#24258A #8A2458 #8A8924 #248A56
split-complementary
#24258A #8A5624 #588A24
monochromatic
#0B0B29 #171859 #24258A #3132BB #5657D3

Accessibility & contrast

On white

12.31
#24258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24258A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24258A#FFFFFF#000000##FFFFFF
##24258A1.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)
#003A8D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24258a;
/* rgb */ color: rgb(36, 37, 138);
/* oklch */ color: oklch(34.3% 0.162 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f60ad',
    500: '#24258a',
    950: '#000000',
  },
}
SCSS
$custom: #24258a;
$custom-light: #6f60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24258a",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 239.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34273,
    "c": 0.16187,
    "h": 273.4
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#24258A
secondary
#B7B653
accent
#E046E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #24258A

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

Preview Lab → · Contrast checker → · Palette generator →

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