#24236A#24236A

#24236A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.120 H 277.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#24236A
RGBrgb(36, 35, 106)
HSLhsl(241, 50%, 28%)
HSVhsv(241, 67%, 42%)
CMYKcmyk(66%, 67%, 0%, 58.4%)
CIE-LABlab(18.44, 24.43, -41.40)
CIE-LCHlch(18.44, 48.07, 300.55°)
OKLaboklab(30.7% 0.0152 -0.1192)
OKLCHoklch(30.7% 0.12 277.3)
XYZxyz(3.9293, 2.6174, 13.9310)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24236A #696A23
analogous
#23456A #24236A #47236A
triadic
#24236A #6A2423 #236A24
tetradic
#24236A #6A2345 #696A23 #236A47
square
#24236A #6A2345 #696A23 #236A47
split-complementary
#24236A #6A4723 #456A23
monochromatic
#080817 #14143C #24236A #343298 #4746C2

Accessibility & contrast

On white

13.78
#24236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#24236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24236A
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24236A#FFFFFF#000000##FFFFFF
##24236A1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #24236a;
/* rgb */ color: rgb(36, 35, 106);
/* oklch */ color: oklch(30.7% 0.120 277.3);
Tailwind
colors: {
  custom: {
    50: '#685e95',
    500: '#24236a',
    950: '#000000',
  },
}
SCSS
$custom: #24236a;
$custom-light: #685e95;
$custom-dark: #000000;
JSON
{
  "hex": "#24236a",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 240.845,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30697,
    "c": 0.12021,
    "h": 277.3
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#24236A
secondary
#9C9D4B
accent
#DA4ED8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #24236A

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

Preview Lab → · Contrast checker → · Palette generator →

#24236A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva