#24237B#24237B

#24237B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.144 H 275.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#24237B
RGBrgb(36, 35, 123)
HSLhsl(241, 56%, 31%)
HSVhsv(241, 72%, 48%)
CMYKcmyk(70.7%, 71.5%, 0%, 51.8%)
CIE-LABlab(20.07, 30.65, -49.68)
CIE-LCHlch(20.07, 58.37, 301.67°)
OKLaboklab(32.38% 0.0132 -0.1435)
OKLCHoklch(32.38% 0.144 275.3)
XYZxyz(4.9026, 3.0067, 19.0570)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24237B #7A7B23
analogous
#234E7B #24237B #50237B
triadic
#24237B #7B2423 #237B24
tetradic
#24237B #7B234E #7A7B23 #237B50
square
#24237B #7B234E #7A7B23 #237B50
split-complementary
#24237B #7B5023 #4E7B23
monochromatic
#08081C #16154B #24237B #3231AB #4E4CCC

Accessibility & contrast

On white

13.11
#24237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#24237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24237B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24237B#FFFFFF#000000##FFFFFF
##24237B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24237b;
/* rgb */ color: rgb(36, 35, 123);
/* oklch */ color: oklch(32.4% 0.144 275.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ea2',
    500: '#24237b',
    950: '#000000',
  },
}
SCSS
$custom: #24237b;
$custom-light: #6c5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#24237b",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 240.682,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32379,
    "c": 0.14412,
    "h": 275.3
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#24237B
secondary
#ACAE4C
accent
#DF49DD
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #24237B

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

Preview Lab → · Contrast checker → · Palette generator →

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