#24397E#24397E

#24397E is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.120 H 267.5°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#24397E
RGBrgb(36, 57, 126)
HSLhsl(226, 56%, 32%)
HSVhsv(226, 71%, 49%)
CMYKcmyk(71.4%, 54.8%, 0%, 50.6%)
CIE-LABlab(26.18, 16.79, -41.63)
CIE-LCHlch(26.18, 44.88, 291.97°)
OKLaboklab(36.98% -0.0053 -0.1197)
OKLCHoklch(36.98% 0.12 267.5)
XYZxyz(5.9553, 4.8071, 20.3486)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24397E #7E6924
analogous
#24667E #24397E #3C247E
triadic
#24397E #7E2439 #397E24
tetradic
#24397E #7E2466 #7E6924 #247E3C
square
#24397E #7E2466 #7E6924 #247E3C
split-complementary
#24397E #7E3C24 #667E24
monochromatic
#090E1F #16234E #24397E #324FAE #506DCD

Accessibility & contrast

On white

10.71
#24397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24397E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24397E#FFFFFF#000000##FFFFFF
##24397E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24397e;
/* rgb */ color: rgb(36, 57, 126);
/* oklch */ color: oklch(37.0% 0.120 267.5);
Tailwind
colors: {
  custom: {
    50: '#6b6fa4',
    500: '#24397e',
    950: '#000000',
  },
}
SCSS
$custom: #24397e;
$custom-light: #6b6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#24397e",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 226,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36977,
    "c": 0.11978,
    "h": 267.5
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#24397E
secondary
#B0994E
accent
#BC49DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24397E

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

Preview Lab → · Contrast checker → · Palette generator →

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