#24327C#24327C

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

Color values

HEX#24327C
RGBrgb(36, 50, 124)
HSLhsl(230, 55%, 31%)
HSVhsv(230, 71%, 49%)
CMYKcmyk(71%, 59.7%, 0%, 51.4%)
CIE-LABlab(24.04, 20.89, -43.84)
CIE-LCHlch(24.04, 48.56, 295.48°)
OKLaboklab(35.32% 0.001 -0.1263)
OKLCHoklch(35.32% 0.126 270.5)
XYZxyz(5.5050, 4.1110, 19.5683)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24327C #7C6E24
analogous
#245E7C #24327C #42247C
triadic
#24327C #7C2432 #327C24
tetradic
#24327C #7C245E #7C6E24 #247C42
square
#24327C #7C245E #7C6E24 #247C42
split-complementary
#24327C #7C4224 #5E7C24
monochromatic
#080C1D #161F4D #24327C #3245AB #4F63CC

Accessibility & contrast

On white

11.52
#24327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#24327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24327C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24327C#FFFFFF#000000##FFFFFF
##24327C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24327c;
/* rgb */ color: rgb(36, 50, 124);
/* oklch */ color: oklch(35.3% 0.126 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b69a3',
    500: '#24327c',
    950: '#000000',
  },
}
SCSS
$custom: #24327c;
$custom-light: #6b69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24327c",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 230.455,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.12627,
    "h": 270.5
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#24327C
secondary
#AE9F4D
accent
#C749DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24327C

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

Preview Lab → · Contrast checker → · Palette generator →

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