#24377C#24377C

#24377C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.120 H 268.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#24377C
RGBrgb(36, 55, 124)
HSLhsl(227, 55%, 31%)
HSVhsv(227, 71%, 49%)
CMYKcmyk(71%, 55.6%, 0%, 51.4%)
CIE-LABlab(25.45, 17.40, -41.55)
CIE-LCHlch(25.45, 45.04, 292.73°)
OKLaboklab(36.38% -0.0036 -0.1195)
OKLCHoklch(36.38% 0.12 268.3)
XYZxyz(5.7306, 4.5621, 19.6434)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24377C #7C6924
analogous
#24637C #24377C #3D247C
triadic
#24377C #7C2437 #377C24
tetradic
#24377C #7C2463 #7C6924 #247C3D
square
#24377C #7C2463 #7C6924 #247C3D
split-complementary
#24377C #7C3D24 #637C24
monochromatic
#080D1D #16224D #24377C #324CAB #4F6ACC

Accessibility & contrast

On white

10.98
#24377C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#24377C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24377C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24377C#FFFFFF#000000##FFFFFF
##24377C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05407E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24377c;
/* rgb */ color: rgb(36, 55, 124);
/* oklch */ color: oklch(36.4% 0.120 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a6da2',
    500: '#24377c',
    950: '#000000',
  },
}
SCSS
$custom: #24377c;
$custom-light: #6a6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#24377c",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 227.045,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36378,
    "c": 0.11951,
    "h": 268.3
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#24377C
secondary
#AE994D
accent
#BE49DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24377C

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

Preview Lab → · Contrast checker → · Palette generator →

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