#24457E#24457E

#24457E is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.104 H 260.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#24457E
RGBrgb(36, 69, 126)
HSLhsl(218, 56%, 32%)
HSVhsv(218, 71%, 49%)
CMYKcmyk(71.4%, 45.2%, 0%, 50.6%)
CIE-LABlab(29.76, 8.50, -35.87)
CIE-LCHlch(29.76, 36.86, 283.33°)
OKLaboklab(39.71% -0.0171 -0.1025)
OKLCHoklch(39.71% 0.104 260.5)
XYZxyz(6.6202, 6.1370, 20.5703)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24457E #7E5D24
analogous
#24727E #24457E #30247E
triadic
#24457E #7E2445 #457E24
tetradic
#24457E #7E2472 #7E5D24 #247E30
square
#24457E #7E2472 #7E5D24 #247E30
split-complementary
#24457E #7E3024 #727E24
monochromatic
#09111F #162B4E #24457E #325FAE #507DCD

Accessibility & contrast

On white

9.43
#24457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24457E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24457E#FFFFFF#000000##FFFFFF
##24457E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B80
Deuteranopia (green-blind)
#1A427D
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #24457e;
/* rgb */ color: rgb(36, 69, 126);
/* oklch */ color: oklch(39.7% 0.104 260.5);
Tailwind
colors: {
  custom: {
    50: '#6a78a4',
    500: '#24457e',
    950: '#000000',
  },
}
SCSS
$custom: #24457e;
$custom-light: #6a78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24457e",
  "rgb": {
    "r": 36,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 218,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39711,
    "c": 0.10394,
    "h": 260.5
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#24457E
secondary
#B08C4E
accent
#A849DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24457E

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

Preview Lab → · Contrast checker → · Palette generator →

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