#24397B#24397B

#24397B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.115 H 267.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#24397B
RGBrgb(36, 57, 123)
HSLhsl(226, 55%, 31%)
HSVhsv(226, 71%, 48%)
CMYKcmyk(70.7%, 53.7%, 0%, 51.8%)
CIE-LABlab(25.95, 15.61, -40.10)
CIE-LCHlch(25.95, 43.03, 291.27°)
OKLaboklab(36.74% -0.0056 -0.1152)
OKLCHoklch(36.74% 0.115 267.2)
XYZxyz(5.7646, 4.7308, 19.3444)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24397B #7B6624
analogous
#24647B #24397B #3A247B
triadic
#24397B #7B2439 #397B24
tetradic
#24397B #7B2464 #7B6624 #247B3A
square
#24397B #7B2464 #7B6624 #247B3A
split-complementary
#24397B #7B3A24 #647B24
monochromatic
#080D1C #16234C #24397B #324FAA #4E6CCB

Accessibility & contrast

On white

10.79
#24397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#24397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24397B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24397B#FFFFFF#000000##FFFFFF
##24397B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24397b;
/* rgb */ color: rgb(36, 57, 123);
/* oklch */ color: oklch(36.7% 0.115 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a6fa2',
    500: '#24397b',
    950: '#000000',
  },
}
SCSS
$custom: #24397b;
$custom-light: #6a6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#24397b",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 225.517,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36736,
    "c": 0.11531,
    "h": 267.2
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#24397B
secondary
#AD964D
accent
#BA4ADE
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24397B

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

Preview Lab → · Contrast checker → · Palette generator →

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