#24407A#24407A

#24407A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.104 H 263.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#24407A
RGBrgb(36, 64, 122)
HSLhsl(220, 54%, 31%)
HSVhsv(220, 70%, 48%)
CMYKcmyk(70.5%, 47.5%, 0%, 52.2%)
CIE-LABlab(27.97, 10.36, -36.22)
CIE-LCHlch(27.97, 37.68, 285.96°)
OKLaboklab(38.25% -0.0127 -0.1036)
OKLCHoklch(38.25% 0.104 263)
XYZxyz(6.0726, 5.4464, 19.1398)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24407A #7A5E24
analogous
#246B7A #24407A #33247A
triadic
#24407A #7A2440 #407A24
tetradic
#24407A #7A246B #7A5E24 #247A33
square
#24407A #7A246B #7A5E24 #247A33
split-complementary
#24407A #7A3324 #6B7A24
monochromatic
#080E1B #16274B #24407A #3259A9 #4E76CB

Accessibility & contrast

On white

10.05
#24407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#24407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24407A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24407A#FFFFFF#000000##FFFFFF
##24407A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#123E79
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #24407a;
/* rgb */ color: rgb(36, 64, 122);
/* oklch */ color: oklch(38.3% 0.104 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a74a1',
    500: '#24407a',
    950: '#000000',
  },
}
SCSS
$custom: #24407a;
$custom-light: #6a74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24407a",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 220.465,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38252,
    "c": 0.10443,
    "h": 263
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#24407A
secondary
#AC8D4D
accent
#AE4ADE
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #24407A

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

Preview Lab → · Contrast checker → · Palette generator →

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