#24398E#24398E

#24398E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.143 H 268.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#24398E
RGBrgb(36, 57, 142)
HSLhsl(228, 60%, 35%)
HSVhsv(228, 75%, 56%)
CMYKcmyk(74.6%, 59.9%, 0%, 44.3%)
CIE-LABlab(27.45, 23.03, -49.53)
CIE-LCHlch(27.45, 54.63, 294.93°)
OKLaboklab(38.33% -0.0044 -0.1429)
OKLCHoklch(38.33% 0.143 268.2)
XYZxyz(7.0715, 5.2536, 26.2273)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24398E #8E7924
analogous
#246E8E #24398E #44248E
triadic
#24398E #8E2439 #398E24
tetradic
#24398E #8E246E #8E7924 #248E44
square
#24398E #8E246E #8E7924 #248E44
split-complementary
#24398E #8E4424 #6E8E24
monochromatic
#0B122C #18255D #24398E #304DBF #5871D5

Accessibility & contrast

On white

10.24
#24398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#24398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24398E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24398E#FFFFFF#000000##FFFFFF
##24398E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #24398e;
/* rgb */ color: rgb(36, 57, 142);
/* oklch */ color: oklch(38.3% 0.143 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f6fb0',
    500: '#24398e',
    950: '#000000',
  },
}
SCSS
$custom: #24398e;
$custom-light: #6f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#24398e",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 228.113,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38328,
    "c": 0.14298,
    "h": 268.2
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#24398E
secondary
#B9A555
accent
#C345E3
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24398E

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

Preview Lab → · Contrast checker → · Palette generator →

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