#24427C#24427C

#24427C is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.105 H 262.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#24427C
RGBrgb(36, 66, 124)
HSLhsl(220, 55%, 31%)
HSVhsv(220, 71%, 49%)
CMYKcmyk(71%, 46.8%, 0%, 51.4%)
CIE-LABlab(28.71, 9.77, -36.29)
CIE-LCHlch(28.71, 37.58, 285.06°)
OKLaboklab(38.86% -0.0144 -0.1038)
OKLCHoklch(38.86% 0.105 262.1)
XYZxyz(6.3126, 5.7261, 19.8374)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24427C #7C5E24
analogous
#246E7C #24427C #32247C
triadic
#24427C #7C2442 #427C24
tetradic
#24427C #7C246E #7C5E24 #247C32
square
#24427C #7C246E #7C5E24 #247C32
split-complementary
#24427C #7C3224 #6E7C24
monochromatic
#08101D #16294D #24427C #325BAB #4F79CC

Accessibility & contrast

On white

9.79
#24427C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#24427C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24427C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24427C#FFFFFF#000000##FFFFFF
##24427C1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#15407B
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #24427c;
/* rgb */ color: rgb(36, 66, 124);
/* oklch */ color: oklch(38.9% 0.105 262.1);
Tailwind
colors: {
  custom: {
    50: '#6a75a2',
    500: '#24427c',
    950: '#000000',
  },
}
SCSS
$custom: #24427c;
$custom-light: #6a75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24427c",
  "rgb": {
    "r": 36,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 219.545,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38864,
    "c": 0.10481,
    "h": 262.1
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#24427C
secondary
#AE8D4D
accent
#AC49DE
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24427C

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

Preview Lab → · Contrast checker → · Palette generator →

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