#24477E#24477E

#24477E is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.101 H 259.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#24477E
RGBrgb(36, 71, 126)
HSLhsl(217, 56%, 32%)
HSVhsv(217, 71%, 49%)
CMYKcmyk(71.4%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.37, 7.14, -34.89)
CIE-LCHlch(30.37, 35.61, 281.57°)
OKLaboklab(40.18% -0.0191 -0.0996)
OKLCHoklch(40.18% 0.101 259.1)
XYZxyz(6.7453, 6.3872, 20.6120)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24477E #7E5B24
analogous
#24747E #24477E #2E247E
triadic
#24477E #7E2447 #477E24
tetradic
#24477E #7E2474 #7E5B24 #247E2E
square
#24477E #7E2474 #7E5B24 #247E2E
split-complementary
#24477E #7E2E24 #747E24
monochromatic
#09111F #162C4E #24477E #3262AE #5080CD

Accessibility & contrast

On white

9.22
#24477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#24477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24477E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24477E#FFFFFF#000000##FFFFFF
##24477E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#1E447D
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #24477e;
/* rgb */ color: rgb(36, 71, 126);
/* oklch */ color: oklch(40.2% 0.101 259.1);
Tailwind
colors: {
  custom: {
    50: '#6a79a4',
    500: '#24477e',
    950: '#000000',
  },
}
SCSS
$custom: #24477e;
$custom-light: #6a79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24477e",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 216.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40185,
    "c": 0.10143,
    "h": 259.1
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#24477E
secondary
#B08A4E
accent
#A549DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #24477E

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

Preview Lab → · Contrast checker → · Palette generator →

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