#24238E#24238E

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

Color values

HEX#24238E
RGBrgb(36, 35, 142)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 56%)
CMYKcmyk(74.6%, 75.4%, 0%, 44.3%)
CIE-LABlab(22.05, 37.36, -58.38)
CIE-LCHlch(22.05, 69.31, 302.62°)
OKLaboklab(34.39% 0.01 -0.1689)
OKLCHoklch(34.39% 0.169 273.4)
XYZxyz(6.2094, 3.5295, 25.9400)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24238E #8D8E23
analogous
#23578E #24238E #5A238E
triadic
#24238E #8E2423 #238E24
tetradic
#24238E #8E2357 #8D8E23 #238E5A
square
#24238E #8E2357 #8D8E23 #238E5A
split-complementary
#24238E #8E5A23 #578E23
monochromatic
#0B0B2C #18175D #24238E #302FBF #5756D5

Accessibility & contrast

On white

12.31
#24238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#24238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24238E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24238E#FFFFFF#000000##FFFFFF
##24238E1.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)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24238e;
/* rgb */ color: rgb(36, 35, 142);
/* oklch */ color: oklch(34.4% 0.169 273.4);
Tailwind
colors: {
  custom: {
    50: '#715fb0',
    500: '#24238e',
    950: '#000000',
  },
}
SCSS
$custom: #24238e;
$custom-light: #715fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#24238e",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 240.561,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34392,
    "c": 0.16919,
    "h": 273.4
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#24238E
secondary
#B8B953
accent
#E444E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #24238E

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

Preview Lab → · Contrast checker → · Palette generator →

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