#24397A#24397A

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

Color values

HEX#24397A
RGBrgb(36, 57, 122)
HSLhsl(225, 54%, 31%)
HSVhsv(225, 70%, 48%)
CMYKcmyk(70.5%, 53.3%, 0%, 52.2%)
CIE-LABlab(25.88, 15.22, -39.59)
CIE-LCHlch(25.88, 42.41, 291.03°)
OKLaboklab(36.66% -0.0057 -0.1137)
OKLCHoklch(36.66% 0.114 267.1)
XYZxyz(5.7023, 4.7059, 19.0164)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24397A #7A6524
analogous
#24647A #24397A #3A247A
triadic
#24397A #7A2439 #397A24
tetradic
#24397A #7A2464 #7A6524 #247A3A
square
#24397A #7A2464 #7A6524 #247A3A
split-complementary
#24397A #7A3A24 #647A24
monochromatic
#080D1B #16234B #24397A #324FA9 #4E6CCB

Accessibility & contrast

On white

10.82
#24397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#24397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24397A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24397A#FFFFFF#000000##FFFFFF
##24397A1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24397a;
/* rgb */ color: rgb(36, 57, 122);
/* oklch */ color: oklch(36.7% 0.114 267.1);
Tailwind
colors: {
  custom: {
    50: '#6a6fa1',
    500: '#24397a',
    950: '#000000',
  },
}
SCSS
$custom: #24397a;
$custom-light: #6a6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#24397a",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 225.349,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36656,
    "c": 0.1138,
    "h": 267.1
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#24397A
secondary
#AC954D
accent
#BA4ADE
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #24397A

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

Preview Lab → · Contrast checker → · Palette generator →

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