#24327D#24327D

#24327D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.128 H 270.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#24327D
RGBrgb(36, 50, 125)
HSLhsl(231, 55%, 32%)
HSVhsv(231, 71%, 49%)
CMYKcmyk(71.2%, 60%, 0%, 51%)
CIE-LABlab(24.12, 21.28, -44.34)
CIE-LCHlch(24.12, 49.18, 295.63°)
OKLaboklab(35.41% 0.001 -0.1277)
OKLCHoklch(35.41% 0.128 270.5)
XYZxyz(5.5686, 4.1364, 19.9030)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24327D #7D6F24
analogous
#245F7D #24327D #43247D
triadic
#24327D #7D2432 #327D24
tetradic
#24327D #7D245F #7D6F24 #247D43
square
#24327D #7D245F #7D6F24 #247D43
split-complementary
#24327D #7D4324 #5F7D24
monochromatic
#090C1E #161F4D #24327D #3245AD #4F63CC

Accessibility & contrast

On white

11.49
#24327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24327D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24327D#FFFFFF#000000##FFFFFF
##24327D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24327d;
/* rgb */ color: rgb(36, 50, 125);
/* oklch */ color: oklch(35.4% 0.128 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b69a3',
    500: '#24327d',
    950: '#000000',
  },
}
SCSS
$custom: #24327d;
$custom-light: #6b69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24327d",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 230.562,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.12774,
    "h": 270.5
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#24327D
secondary
#AFA04D
accent
#C749DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24327D

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

Preview Lab → · Contrast checker → · Palette generator →

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