#24457D#24457D

#24457D is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.102 H 260.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#24457D
RGBrgb(36, 69, 125)
HSLhsl(218, 55%, 32%)
HSVhsv(218, 71%, 49%)
CMYKcmyk(71.2%, 44.8%, 0%, 51%)
CIE-LABlab(29.69, 8.11, -35.35)
CIE-LCHlch(29.69, 36.27, 282.92°)
OKLaboklab(39.64% -0.0173 -0.101)
OKLCHoklch(39.64% 0.102 260.3)
XYZxyz(6.5560, 6.1113, 20.2322)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24457D #7D5C24
analogous
#24727D #24457D #30247D
triadic
#24457D #7D2445 #457D24
tetradic
#24457D #7D2472 #7D5C24 #247D30
square
#24457D #7D2472 #7D5C24 #247D30
split-complementary
#24457D #7D3024 #727D24
monochromatic
#09111E #162B4D #24457D #325FAD #4F7ECC

Accessibility & contrast

On white

9.45
#24457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#24457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24457D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24457D#FFFFFF#000000##FFFFFF
##24457D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7F
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #24457d;
/* rgb */ color: rgb(36, 69, 125);
/* oklch */ color: oklch(39.6% 0.102 260.3);
Tailwind
colors: {
  custom: {
    50: '#6a78a3',
    500: '#24457d',
    950: '#000000',
  },
}
SCSS
$custom: #24457d;
$custom-light: #6a78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24457d",
  "rgb": {
    "r": 36,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 217.753,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39641,
    "c": 0.10246,
    "h": 260.3
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#24457D
secondary
#AF8B4D
accent
#A749DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24457D

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

Preview Lab → · Contrast checker → · Palette generator →

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