#24397C#24397C

#24397C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.117 H 267.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#24397C
RGBrgb(36, 57, 124)
HSLhsl(226, 55%, 31%)
HSVhsv(226, 71%, 49%)
CMYKcmyk(71%, 54%, 0%, 51.4%)
CIE-LABlab(26.03, 16.00, -40.61)
CIE-LCHlch(26.03, 43.65, 291.51°)
OKLaboklab(36.82% -0.0055 -0.1167)
OKLCHoklch(36.82% 0.117 267.3)
XYZxyz(5.8275, 4.7560, 19.6758)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24397C #7C6724
analogous
#24657C #24397C #3B247C
triadic
#24397C #7C2439 #397C24
tetradic
#24397C #7C2465 #7C6724 #247C3B
square
#24397C #7C2465 #7C6724 #247C3B
split-complementary
#24397C #7C3B24 #657C24
monochromatic
#080D1D #16234D #24397C #324FAB #4F6CCC

Accessibility & contrast

On white

10.76
#24397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24397C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24397C#FFFFFF#000000##FFFFFF
##24397C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24397c;
/* rgb */ color: rgb(36, 57, 124);
/* oklch */ color: oklch(36.8% 0.117 267.3);
Tailwind
colors: {
  custom: {
    50: '#6a6fa2',
    500: '#24397c',
    950: '#000000',
  },
}
SCSS
$custom: #24397c;
$custom-light: #6a6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#24397c",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 225.682,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36816,
    "c": 0.1168,
    "h": 267.3
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#24397C
secondary
#AE974D
accent
#BB49DE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24397C

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

Preview Lab → · Contrast checker → · Palette generator →

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