#24327F#24327F

#24327F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.131 H 270.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#24327F
RGBrgb(36, 50, 127)
HSLhsl(231, 56%, 32%)
HSVhsv(231, 72%, 50%)
CMYKcmyk(71.7%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.28, 22.05, -45.33)
CIE-LCHlch(24.28, 50.41, 295.94°)
OKLaboklab(35.58% 0.0011 -0.1306)
OKLCHoklch(35.58% 0.131 270.5)
XYZxyz(5.6976, 4.1880, 20.5827)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24327F #7F7124
analogous
#24607F #24327F #44247F
triadic
#24327F #7F2432 #327F24
tetradic
#24327F #7F2460 #7F7124 #247F44
square
#24327F #7F2460 #7F7124 #247F44
split-complementary
#24327F #7F4424 #607F24
monochromatic
#090C20 #161F4F #24327F #3245AF #5063CD

Accessibility & contrast

On white

11.43
#24327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#24327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24327F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24327F#FFFFFF#000000##FFFFFF
##24327F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24327f;
/* rgb */ color: rgb(36, 50, 127);
/* oklch */ color: oklch(35.6% 0.131 270.5);
Tailwind
colors: {
  custom: {
    50: '#6c69a5',
    500: '#24327f',
    950: '#000000',
  },
}
SCSS
$custom: #24327f;
$custom-light: #6c69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#24327f",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 230.769,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35581,
    "c": 0.13065,
    "h": 270.5
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#24327F
secondary
#B1A24E
accent
#C849DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #24327F

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

Preview Lab → · Contrast checker → · Palette generator →

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