#24327B#24327B

#24327B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.125 H 270.4°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#24327B
RGBrgb(36, 50, 123)
HSLhsl(230, 55%, 31%)
HSVhsv(230, 71%, 48%)
CMYKcmyk(70.7%, 59.3%, 0%, 51.8%)
CIE-LABlab(23.95, 20.50, -43.34)
CIE-LCHlch(23.95, 47.94, 295.32°)
OKLaboklab(35.23% 0.001 -0.1248)
OKLCHoklch(35.23% 0.125 270.4)
XYZxyz(5.4421, 4.0858, 19.2369)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24327B #7B6D24
analogous
#245D7B #24327B #41247B
triadic
#24327B #7B2432 #327B24
tetradic
#24327B #7B245D #7B6D24 #247B41
square
#24327B #7B245D #7B6D24 #247B41
split-complementary
#24327B #7B4124 #5D7B24
monochromatic
#080C1C #161F4C #24327B #3245AA #4E62CB

Accessibility & contrast

On white

11.56
#24327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24327B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24327B#FFFFFF#000000##FFFFFF
##24327B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24327b;
/* rgb */ color: rgb(36, 50, 123);
/* oklch */ color: oklch(35.2% 0.125 270.4);
Tailwind
colors: {
  custom: {
    50: '#6b69a2',
    500: '#24327b',
    950: '#000000',
  },
}
SCSS
$custom: #24327b;
$custom-light: #6b69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24327b",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 230.345,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3523,
    "c": 0.12481,
    "h": 270.4
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#24327B
secondary
#AD9E4D
accent
#C64ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24327B

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

Preview Lab → · Contrast checker → · Palette generator →

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