#24427A#24427A

#24427A is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.102 H 261.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#24427A
RGBrgb(36, 66, 122)
HSLhsl(219, 54%, 31%)
HSVhsv(219, 70%, 48%)
CMYKcmyk(70.5%, 45.9%, 0%, 52.2%)
CIE-LABlab(28.58, 8.98, -35.25)
CIE-LCHlch(28.58, 36.38, 284.30°)
OKLaboklab(38.72% -0.0148 -0.1008)
OKLCHoklch(38.72% 0.102 261.7)
XYZxyz(6.1874, 5.6760, 19.1781)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24427A #7A5C24
analogous
#246D7A #24427A #31247A
triadic
#24427A #7A2442 #427A24
tetradic
#24427A #7A246D #7A5C24 #247A31
square
#24427A #7A246D #7A5C24 #247A31
split-complementary
#24427A #7A3124 #6D7A24
monochromatic
#080F1B #16284B #24427A #325CA9 #4E79CB

Accessibility & contrast

On white

9.83
#24427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#24427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24427A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24427A#FFFFFF#000000##FFFFFF
##24427A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#184079
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24427a;
/* rgb */ color: rgb(36, 66, 122);
/* oklch */ color: oklch(38.7% 0.102 261.7);
Tailwind
colors: {
  custom: {
    50: '#6975a1',
    500: '#24427a',
    950: '#000000',
  },
}
SCSS
$custom: #24427a;
$custom-light: #6975a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24427a",
  "rgb": {
    "r": 36,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 219.07,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38721,
    "c": 0.10183,
    "h": 261.7
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#24427A
secondary
#AC8B4D
accent
#AA4ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #24427A

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

Preview Lab → · Contrast checker → · Palette generator →

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