#24256D#24256D

#24256D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.122 H 276.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#24256D
RGBrgb(36, 37, 109)
HSLhsl(239, 50%, 28%)
HSVhsv(239, 67%, 43%)
CMYKcmyk(67%, 66.1%, 0%, 57.3%)
CIE-LABlab(19.23, 24.18, -42.06)
CIE-LCHlch(19.23, 48.51, 299.89°)
OKLaboklab(31.36% 0.0131 -0.1212)
OKLCHoklch(31.36% 0.122 276.2)
XYZxyz(4.1485, 2.8020, 14.7873)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24256D #6D6C24
analogous
#24496D #24256D #47246D
triadic
#24256D #6D2425 #256D24
tetradic
#24256D #6D2449 #6D6C24 #246D47
square
#24256D #6D2449 #6D6C24 #246D47
split-complementary
#24256D #6D4724 #496D24
monochromatic
#080817 #15153F #24256D #33359B #494AC3

Accessibility & contrast

On white

13.46
#24256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#24256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24256D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24256D#FFFFFF#000000##FFFFFF
##24256D1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24256d;
/* rgb */ color: rgb(36, 37, 109);
/* oklch */ color: oklch(31.4% 0.122 276.2);
Tailwind
colors: {
  custom: {
    50: '#685f98',
    500: '#24256d',
    950: '#000000',
  },
}
SCSS
$custom: #24256d;
$custom-light: #685f98;
$custom-dark: #000000;
JSON
{
  "hex": "#24256d",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 239.178,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.12188,
    "h": 276.2
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#24256D
secondary
#A09F4D
accent
#D84EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24256D

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

Preview Lab → · Contrast checker → · Palette generator →

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