#24457F#24457F

#24457F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.105 H 260.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#24457F
RGBrgb(36, 69, 127)
HSLhsl(218, 56%, 32%)
HSVhsv(218, 72%, 50%)
CMYKcmyk(71.7%, 45.7%, 0%, 50.2%)
CIE-LABlab(29.82, 8.89, -36.39)
CIE-LCHlch(29.82, 37.46, 283.73°)
OKLaboklab(39.78% -0.0169 -0.1041)
OKLCHoklch(39.78% 0.105 260.8)
XYZxyz(6.6851, 6.1629, 20.9118)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24457F #7F5E24
analogous
#24737F #24457F #31247F
triadic
#24457F #7F2445 #457F24
tetradic
#24457F #7F2473 #7F5E24 #247F31
square
#24457F #7F2473 #7F5E24 #247F31
split-complementary
#24457F #7F3124 #737F24
monochromatic
#091120 #162B4F #24457F #325FAF #507DCD

Accessibility & contrast

On white

9.41
#24457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#24457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24457F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24457F#FFFFFF#000000##FFFFFF
##24457F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#18427E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #24457f;
/* rgb */ color: rgb(36, 69, 127);
/* oklch */ color: oklch(39.8% 0.105 260.8);
Tailwind
colors: {
  custom: {
    50: '#6a78a4',
    500: '#24457f',
    950: '#000000',
  },
}
SCSS
$custom: #24457f;
$custom-light: #6a78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24457f",
  "rgb": {
    "r": 36,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 218.242,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.10542,
    "h": 260.8
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#24457F
secondary
#B18D4E
accent
#A949DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24457F

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

Preview Lab → · Contrast checker → · Palette generator →

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