#24377F#24377F

#24377F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.124 H 268.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#24377F
RGBrgb(36, 55, 127)
HSLhsl(227, 56%, 32%)
HSVhsv(227, 72%, 50%)
CMYKcmyk(71.7%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.68, 18.57, -43.06)
CIE-LCHlch(25.68, 46.89, 293.33°)
OKLaboklab(36.63% -0.0034 -0.1239)
OKLCHoklch(36.63% 0.124 268.4)
XYZxyz(5.9232, 4.6392, 20.6579)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24377F #7F6C24
analogous
#24647F #24377F #3F247F
triadic
#24377F #7F2437 #377F24
tetradic
#24377F #7F2464 #7F6C24 #247F3F
square
#24377F #7F2464 #7F6C24 #247F3F
split-complementary
#24377F #7F3F24 #647F24
monochromatic
#090E20 #16224F #24377F #324CAF #506ACD

Accessibility & contrast

On white

10.89
#24377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#24377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24377F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24377F#FFFFFF#000000##FFFFFF
##24377F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24377f;
/* rgb */ color: rgb(36, 55, 127);
/* oklch */ color: oklch(36.6% 0.124 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b6da5',
    500: '#24377f',
    950: '#000000',
  },
}
SCSS
$custom: #24377f;
$custom-light: #6b6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#24377f",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 227.473,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36627,
    "c": 0.12396,
    "h": 268.4
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#24377F
secondary
#B19C4E
accent
#C049DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24377F

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

Preview Lab → · Contrast checker → · Palette generator →

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