#24236B#24236B

#24236B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.122 H 277.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#24236B
RGBrgb(36, 35, 107)
HSLhsl(241, 51%, 28%)
HSVhsv(241, 67%, 42%)
CMYKcmyk(66.4%, 67.3%, 0%, 58%)
CIE-LABlab(18.53, 24.80, -41.90)
CIE-LCHlch(18.53, 48.69, 300.62°)
OKLaboklab(30.79% 0.0151 -0.1207)
OKLCHoklch(30.79% 0.122 277.1)
XYZxyz(3.9816, 2.6383, 14.2065)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24236B #6A6B23
analogous
#23466B #24236B #48236B
triadic
#24236B #6B2423 #236B24
tetradic
#24236B #6B2346 #6A6B23 #236B48
square
#24236B #6B2346 #6A6B23 #236B48
split-complementary
#24236B #6B4823 #466B23
monochromatic
#080817 #14143D #24236B #343299 #4846C2

Accessibility & contrast

On white

13.75
#24236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#24236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24236B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24236B#FFFFFF#000000##FFFFFF
##24236B1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24236b;
/* rgb */ color: rgb(36, 35, 107);
/* oklch */ color: oklch(30.8% 0.122 277.1);
Tailwind
colors: {
  custom: {
    50: '#685e96',
    500: '#24236b',
    950: '#000000',
  },
}
SCSS
$custom: #24236b;
$custom-light: #685e96;
$custom-dark: #000000;
JSON
{
  "hex": "#24236b",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 240.833,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30792,
    "c": 0.12166,
    "h": 277.1
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24236B

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

Preview Lab → · Contrast checker → · Palette generator →

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