#24398D#24398D

#24398D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.142 H 268.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#24398D
RGBrgb(36, 57, 141)
HSLhsl(228, 59%, 35%)
HSVhsv(228, 74%, 55%)
CMYKcmyk(74.5%, 59.6%, 0%, 44.7%)
CIE-LABlab(27.36, 22.64, -49.05)
CIE-LCHlch(27.36, 54.02, 294.78°)
OKLaboklab(38.24% -0.0044 -0.1415)
OKLCHoklch(38.24% 0.142 268.2)
XYZxyz(6.9967, 5.2237, 25.8337)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24398D #8D7824
analogous
#246E8D #24398D #44248D
triadic
#24398D #8D2439 #398D24
tetradic
#24398D #8D246E #8D7824 #248D44
square
#24398D #8D246E #8D7824 #248D44
split-complementary
#24398D #8D4424 #6E8D24
monochromatic
#0B122B #18255C #24398D #304DBE #5770D4

Accessibility & contrast

On white

10.27
#24398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#24398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24398D
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24398D#FFFFFF#000000##FFFFFF
##24398D1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24398d;
/* rgb */ color: rgb(36, 57, 141);
/* oklch */ color: oklch(38.2% 0.142 268.2);
Tailwind
colors: {
  custom: {
    50: '#6e6faf',
    500: '#24398d',
    950: '#000000',
  },
}
SCSS
$custom: #24398d;
$custom-light: #6e6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#24398d",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 228,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38241,
    "c": 0.14156,
    "h": 268.2
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24398D

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

Preview Lab → · Contrast checker → · Palette generator →

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