#24457A#24457A

#24457A is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.098 H 259.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#24457A
RGBrgb(36, 69, 122)
HSLhsl(217, 54%, 31%)
HSVhsv(217, 70%, 48%)
CMYKcmyk(70.5%, 43.4%, 0%, 52.2%)
CIE-LABlab(29.50, 6.94, -33.77)
CIE-LCHlch(29.50, 34.48, 281.61°)
OKLaboklab(39.43% -0.0179 -0.0964)
OKLCHoklch(39.43% 0.098 259.5)
XYZxyz(6.3673, 6.0358, 19.2380)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24457A #7A5924
analogous
#24707A #24457A #2E247A
triadic
#24457A #7A2445 #457A24
tetradic
#24457A #7A2470 #7A5924 #247A2E
square
#24457A #7A2470 #7A5924 #247A2E
split-complementary
#24457A #7A2E24 #707A24
monochromatic
#08101B #162A4B #24457A #3260A9 #4E7ECB

Accessibility & contrast

On white

9.51
#24457A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#24457A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24457A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24457A#FFFFFF#000000##FFFFFF
##24457A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#1E4279
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #24457a;
/* rgb */ color: rgb(36, 69, 122);
/* oklch */ color: oklch(39.4% 0.098 259.5);
Tailwind
colors: {
  custom: {
    50: '#6978a1',
    500: '#24457a',
    950: '#000000',
  },
}
SCSS
$custom: #24457a;
$custom-light: #6978a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24457a",
  "rgb": {
    "r": 36,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 216.977,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39433,
    "c": 0.09802,
    "h": 259.5
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#24457A
secondary
#AC884D
accent
#A54ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #24457A

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

Preview Lab → · Contrast checker → · Palette generator →

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