#24327E#24327E

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

Color values

HEX#24327E
RGBrgb(36, 50, 126)
HSLhsl(231, 56%, 32%)
HSVhsv(231, 71%, 49%)
CMYKcmyk(71.4%, 60.3%, 0%, 50.6%)
CIE-LABlab(24.20, 21.66, -44.83)
CIE-LCHlch(24.20, 49.79, 295.79°)
OKLaboklab(35.49% 0.0011 -0.1292)
OKLCHoklch(35.49% 0.129 270.5)
XYZxyz(5.6328, 4.1621, 20.2411)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24327E #7E7024
analogous
#245F7E #24327E #43247E
triadic
#24327E #7E2432 #327E24
tetradic
#24327E #7E245F #7E7024 #247E43
square
#24327E #7E245F #7E7024 #247E43
split-complementary
#24327E #7E4324 #5F7E24
monochromatic
#090C1F #161F4E #24327E #3245AE #5063CD

Accessibility & contrast

On white

11.46
#24327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#24327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24327E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24327E#FFFFFF#000000##FFFFFF
##24327E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24327e;
/* rgb */ color: rgb(36, 50, 126);
/* oklch */ color: oklch(35.5% 0.129 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b69a4',
    500: '#24327e',
    950: '#000000',
  },
}
SCSS
$custom: #24327e;
$custom-light: #6b69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24327e",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 230.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35492,
    "c": 0.1292,
    "h": 270.5
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#24327E
secondary
#B0A14E
accent
#C849DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24327E

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

Preview Lab → · Contrast checker → · Palette generator →

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