#24427E#24427E

#24427E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.108 H 262.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#24427E
RGBrgb(36, 66, 126)
HSLhsl(220, 56%, 32%)
HSVhsv(220, 71%, 49%)
CMYKcmyk(71.4%, 47.6%, 0%, 50.6%)
CIE-LABlab(28.84, 10.55, -37.33)
CIE-LCHlch(28.84, 38.79, 285.78°)
OKLaboklab(39.01% -0.014 -0.1069)
OKLCHoklch(39.01% 0.108 262.5)
XYZxyz(6.4403, 5.7772, 20.5103)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24427E #7E6024
analogous
#246F7E #24427E #33247E
triadic
#24427E #7E2442 #427E24
tetradic
#24427E #7E246F #7E6024 #247E33
square
#24427E #7E246F #7E6024 #247E33
split-complementary
#24427E #7E3324 #6F7E24
monochromatic
#09101F #16294E #24427E #325BAE #5079CD

Accessibility & contrast

On white

9.74
#24427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#24427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24427E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24427E#FFFFFF#000000##FFFFFF
##24427E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244880
Deuteranopia (green-blind)
#11407D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #24427e;
/* rgb */ color: rgb(36, 66, 126);
/* oklch */ color: oklch(39.0% 0.108 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a75a4',
    500: '#24427e',
    950: '#000000',
  },
}
SCSS
$custom: #24427e;
$custom-light: #6a75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24427e",
  "rgb": {
    "r": 36,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 220,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.10779,
    "h": 262.5
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#24427E
secondary
#B08F4E
accent
#AD49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24427E

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

Preview Lab → · Contrast checker → · Palette generator →

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