#24427F#24427F

#24427F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.109 H 262.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#24427F
RGBrgb(36, 66, 127)
HSLhsl(220, 56%, 32%)
HSVhsv(220, 72%, 50%)
CMYKcmyk(71.7%, 48%, 0%, 50.2%)
CIE-LABlab(28.91, 10.95, -37.85)
CIE-LCHlch(28.91, 39.40, 286.13°)
OKLaboklab(39.08% -0.0139 -0.1084)
OKLCHoklch(39.08% 0.109 262.7)
XYZxyz(6.5052, 5.8031, 20.8518)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24427F #7F6124
analogous
#24707F #24427F #34247F
triadic
#24427F #7F2442 #427F24
tetradic
#24427F #7F2470 #7F6124 #247F34
square
#24427F #7F2470 #7F6124 #247F34
split-complementary
#24427F #7F3424 #707F24
monochromatic
#091020 #16294F #24427F #325BAF #5079CD

Accessibility & contrast

On white

9.72
#24427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24427F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24427F#FFFFFF#000000##FFFFFF
##24427F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234981
Deuteranopia (green-blind)
#10407E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #24427f;
/* rgb */ color: rgb(36, 66, 127);
/* oklch */ color: oklch(39.1% 0.109 262.7);
Tailwind
colors: {
  custom: {
    50: '#6b75a4',
    500: '#24427f',
    950: '#000000',
  },
}
SCSS
$custom: #24427f;
$custom-light: #6b75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24427f",
  "rgb": {
    "r": 36,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 220.22,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39081,
    "c": 0.10928,
    "h": 262.7
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#24427F
secondary
#B1904E
accent
#AE49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24427F

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

Preview Lab → · Contrast checker → · Palette generator →

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