#24427D#24427D

#24427D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.106 H 262.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#24427D
RGBrgb(36, 66, 125)
HSLhsl(220, 55%, 32%)
HSVhsv(220, 71%, 49%)
CMYKcmyk(71.2%, 47.2%, 0%, 51%)
CIE-LABlab(28.78, 10.16, -36.81)
CIE-LCHlch(28.78, 38.19, 285.43°)
OKLaboklab(38.94% -0.0142 -0.1053)
OKLCHoklch(38.94% 0.106 262.3)
XYZxyz(6.3761, 5.7515, 20.1722)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24427D #7D5F24
analogous
#246F7D #24427D #32247D
triadic
#24427D #7D2442 #427D24
tetradic
#24427D #7D246F #7D5F24 #247D32
square
#24427D #7D246F #7D5F24 #247D32
split-complementary
#24427D #7D3224 #6F7D24
monochromatic
#09101E #16294D #24427D #325BAD #4F79CC

Accessibility & contrast

On white

9.77
#24427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24427D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24427D#FFFFFF#000000##FFFFFF
##24427D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#13407C
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #24427d;
/* rgb */ color: rgb(36, 66, 125);
/* oklch */ color: oklch(38.9% 0.106 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a75a3',
    500: '#24427d',
    950: '#000000',
  },
}
SCSS
$custom: #24427d;
$custom-light: #6a75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24427d",
  "rgb": {
    "r": 36,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 219.775,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.1063,
    "h": 262.3
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#24427D
secondary
#AF8E4D
accent
#AC49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24427D

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

Preview Lab → · Contrast checker → · Palette generator →

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