#24398A#24398A

#24398A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.137 H 268.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#24398A
RGBrgb(36, 57, 138)
HSLhsl(228, 59%, 34%)
HSVhsv(228, 74%, 54%)
CMYKcmyk(73.9%, 58.7%, 0%, 45.9%)
CIE-LABlab(27.12, 21.48, -47.59)
CIE-LCHlch(27.12, 52.21, 294.29°)
OKLaboklab(37.98% -0.0045 -0.1372)
OKLCHoklch(37.98% 0.137 268.1)
XYZxyz(6.7765, 5.1356, 24.6740)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24398A #8A7524
analogous
#246C8A #24398A #42248A
triadic
#24398A #8A2439 #398A24
tetradic
#24398A #8A246C #8A7524 #248A42
square
#24398A #8A246C #8A7524 #248A42
split-complementary
#24398A #8A4224 #6C8A24
monochromatic
#0B1129 #172559 #24398A #314DBB #566FD3

Accessibility & contrast

On white

10.36
#24398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#24398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24398A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24398A#FFFFFF#000000##FFFFFF
##24398A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24398a;
/* rgb */ color: rgb(36, 57, 138);
/* oklch */ color: oklch(38.0% 0.137 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e6fad',
    500: '#24398a',
    950: '#000000',
  },
}
SCSS
$custom: #24398a;
$custom-light: #6e6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#24398a",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 227.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37981,
    "c": 0.13728,
    "h": 268.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#24398A
secondary
#B7A253
accent
#C246E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24398A

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

Preview Lab → · Contrast checker → · Palette generator →

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