#24258C#24258C

#24258C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.164 H 273.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#24258C
RGBrgb(36, 37, 140)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 55%)
CMYKcmyk(74.3%, 73.6%, 0%, 45.1%)
CIE-LABlab(22.27, 35.46, -56.77)
CIE-LCHlch(22.27, 66.94, 301.99°)
OKLaboklab(34.49% 0.0093 -0.1642)
OKLCHoklch(34.49% 0.164 273.2)
XYZxyz(6.1212, 3.5910, 25.1764)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24258C #8C8B24
analogous
#24598C #24258C #57248C
triadic
#24258C #8C2425 #258C24
tetradic
#24258C #8C2459 #8C8B24 #248C57
square
#24258C #8C2459 #8C8B24 #248C57
split-complementary
#24258C #8C5724 #598C24
monochromatic
#0B0B2B #17185B #24258C #3132BD #5758D4

Accessibility & contrast

On white

12.22
#24258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24258C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24258C#FFFFFF#000000##FFFFFF
##24258C1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24258c;
/* rgb */ color: rgb(36, 37, 140);
/* oklch */ color: oklch(34.5% 0.164 273.2);
Tailwind
colors: {
  custom: {
    50: '#7060af',
    500: '#24258c',
    950: '#000000',
  },
}
SCSS
$custom: #24258c;
$custom-light: #7060af;
$custom-dark: #000000;
JSON
{
  "hex": "#24258c",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 239.423,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34485,
    "c": 0.16448,
    "h": 273.2
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#24258C
secondary
#B8B754
accent
#E146E2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #24258C

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

Preview Lab → · Contrast checker → · Palette generator →

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