#24377B#24377B

#24377B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.118 H 268.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#24377B
RGBrgb(36, 55, 123)
HSLhsl(227, 55%, 31%)
HSVhsv(227, 71%, 48%)
CMYKcmyk(70.7%, 55.3%, 0%, 51.8%)
CIE-LABlab(25.37, 17.01, -41.04)
CIE-LCHlch(25.37, 44.42, 292.51°)
OKLaboklab(36.3% -0.0037 -0.118)
OKLCHoklch(36.3% 0.118 268.2)
XYZxyz(5.6677, 4.5370, 19.3121)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24377B #7B6824
analogous
#24627B #24377B #3C247B
triadic
#24377B #7B2437 #377B24
tetradic
#24377B #7B2462 #7B6824 #247B3C
square
#24377B #7B2462 #7B6824 #247B3C
split-complementary
#24377B #7B3C24 #627B24
monochromatic
#080D1C #16224C #24377B #324CAA #4E69CB

Accessibility & contrast

On white

11.01
#24377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24377B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24377B#FFFFFF#000000##FFFFFF
##24377B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24377b;
/* rgb */ color: rgb(36, 55, 123);
/* oklch */ color: oklch(36.3% 0.118 268.2);
Tailwind
colors: {
  custom: {
    50: '#6a6da2',
    500: '#24377b',
    950: '#000000',
  },
}
SCSS
$custom: #24377b;
$custom-light: #6a6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#24377b",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 226.897,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.11802,
    "h": 268.2
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#24377B
secondary
#AD984D
accent
#BE4ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24377B

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

Preview Lab → · Contrast checker → · Palette generator →

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