#24477F#24477F

#24477F is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.103 H 259.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#24477F
RGBrgb(36, 71, 127)
HSLhsl(217, 56%, 32%)
HSVhsv(217, 72%, 50%)
CMYKcmyk(71.7%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.43, 7.54, -35.41)
CIE-LCHlch(30.43, 36.21, 282.01°)
OKLaboklab(40.25% -0.0189 -0.1011)
OKLCHoklch(40.25% 0.103 259.4)
XYZxyz(6.8102, 6.4131, 20.9535)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24477F #7F5C24
analogous
#24757F #24477F #2F247F
triadic
#24477F #7F2447 #477F24
tetradic
#24477F #7F2475 #7F5C24 #247F2F
square
#24477F #7F2475 #7F5C24 #247F2F
split-complementary
#24477F #7F2F24 #757F24
monochromatic
#091220 #162C4F #24477F #3262AF #5080CD

Accessibility & contrast

On white

9.20
#24477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24477F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24477F#FFFFFF#000000##FFFFFF
##24477F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#1D447E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #24477f;
/* rgb */ color: rgb(36, 71, 127);
/* oklch */ color: oklch(40.3% 0.103 259.4);
Tailwind
colors: {
  custom: {
    50: '#6a79a4',
    500: '#24477f',
    950: '#000000',
  },
}
SCSS
$custom: #24477f;
$custom-light: #6a79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24477f",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 216.923,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.1029,
    "h": 259.4
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24477F

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

Preview Lab → · Contrast checker → · Palette generator →

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