#24255E#24255E

#24255E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.099 H 277.8°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#24255E
RGBrgb(36, 37, 94)
HSLhsl(239, 45%, 25%)
HSVhsv(239, 62%, 37%)
CMYKcmyk(61.7%, 60.6%, 0%, 63.1%)
CIE-LABlab(17.95, 18.57, -34.31)
CIE-LCHlch(17.95, 39.02, 298.42°)
OKLaboklab(30.01% 0.0135 -0.0984)
OKLCHoklch(30.01% 0.099 277.8)
XYZxyz(3.4089, 2.5061, 10.8916)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24255E #5E5D24
analogous
#24425E #24255E #40245E
triadic
#24255E #5E2425 #255E24
tetradic
#24255E #5E2442 #5E5D24 #245E40
square
#24255E #5E2442 #5E5D24 #245E40
split-complementary
#24255E #5E4024 #425E24
monochromatic
#080916 #131432 #24255E #35368A #4648B7

Accessibility & contrast

On white

13.99
#24255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#24255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24255E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24255E#FFFFFF#000000##FFFFFF
##24255E1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#02323D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24255e;
/* rgb */ color: rgb(36, 37, 94);
/* oklch */ color: oklch(30.0% 0.099 277.8);
Tailwind
colors: {
  custom: {
    50: '#655f8c',
    500: '#24255e',
    950: '#000000',
  },
}
SCSS
$custom: #24255e;
$custom-light: #655f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#24255e",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 238.966,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30007,
    "c": 0.09933,
    "h": 277.8
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#24255E
secondary
#92904C
accent
#D253D4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #24255E

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

Preview Lab → · Contrast checker → · Palette generator →

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