#24397D#24397D

#24397D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.118 H 267.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#24397D
RGBrgb(36, 57, 125)
HSLhsl(226, 55%, 32%)
HSVhsv(226, 71%, 49%)
CMYKcmyk(71.2%, 54.4%, 0%, 51%)
CIE-LABlab(26.10, 16.40, -41.12)
CIE-LCHlch(26.10, 44.27, 291.74°)
OKLaboklab(36.9% -0.0054 -0.1182)
OKLCHoklch(36.9% 0.118 267.4)
XYZxyz(5.8911, 4.7814, 20.0105)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24397D #7D6824
analogous
#24667D #24397D #3C247D
triadic
#24397D #7D2439 #397D24
tetradic
#24397D #7D2466 #7D6824 #247D3C
square
#24397D #7D2466 #7D6824 #247D3C
split-complementary
#24397D #7D3C24 #667D24
monochromatic
#090E1E #16234D #24397D #324FAD #4F6DCC

Accessibility & contrast

On white

10.73
#24397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#24397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24397D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24397D#FFFFFF#000000##FFFFFF
##24397D1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C427F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24397d;
/* rgb */ color: rgb(36, 57, 125);
/* oklch */ color: oklch(36.9% 0.118 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6fa3',
    500: '#24397d',
    950: '#000000',
  },
}
SCSS
$custom: #24397d;
$custom-light: #6b6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#24397d",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 225.843,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36896,
    "c": 0.11829,
    "h": 267.4
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#24397D
secondary
#AF984D
accent
#BB49DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24397D

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

Preview Lab → · Contrast checker → · Palette generator →

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