#24398F#24398F

#24398F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.144 H 268.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#24398F
RGBrgb(36, 57, 143)
HSLhsl(228, 60%, 35%)
HSVhsv(228, 75%, 56%)
CMYKcmyk(74.8%, 60.1%, 0%, 43.9%)
CIE-LABlab(27.53, 23.42, -50.02)
CIE-LCHlch(27.53, 55.23, 295.09°)
OKLaboklab(38.42% -0.0044 -0.1443)
OKLCHoklch(38.42% 0.144 268.3)
XYZxyz(7.1469, 5.2837, 26.6245)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24398F #8F7A24
analogous
#246F8F #24398F #44248F
triadic
#24398F #8F2439 #398F24
tetradic
#24398F #8F246F #8F7A24 #248F44
square
#24398F #8F246F #8F7A24 #248F44
split-complementary
#24398F #8F4424 #6F8F24
monochromatic
#0B122D #18265E #24398F #304CC0 #5871D5

Accessibility & contrast

On white

10.21
#24398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#24398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24398F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24398F#FFFFFF#000000##FFFFFF
##24398F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #24398f;
/* rgb */ color: rgb(36, 57, 143);
/* oklch */ color: oklch(38.4% 0.144 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb1',
    500: '#24398f',
    950: '#000000',
  },
}
SCSS
$custom: #24398f;
$custom-light: #6f6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#24398f",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 228.224,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.1444,
    "h": 268.3
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#24398F
secondary
#B9A655
accent
#C445E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #24398F

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

Preview Lab → · Contrast checker → · Palette generator →

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