#24326F#24326F

#24326F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.107 H 270.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#24326F
RGBrgb(36, 50, 111)
HSLhsl(229, 51%, 29%)
HSVhsv(229, 68%, 44%)
CMYKcmyk(67.6%, 55%, 0%, 56.5%)
CIE-LABlab(23.01, 15.84, -37.21)
CIE-LCHlch(23.01, 40.45, 293.06°)
OKLaboklab(34.23% 0.0003 -0.1068)
OKLCHoklch(34.23% 0.107 270.2)
XYZxyz(4.7364, 3.8035, 15.5204)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24326F #6F6124
analogous
#24586F #24326F #3C246F
triadic
#24326F #6F2432 #326F24
tetradic
#24326F #6F2458 #6F6124 #246F3C
square
#24326F #6F2458 #6F6124 #246F3C
split-complementary
#24326F #6F3C24 #586F24
monochromatic
#070A17 #151D41 #24326F #33479D #4960C4

Accessibility & contrast

On white

11.93
#24326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#24326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24326F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24326F#FFFFFF#000000##FFFFFF
##24326F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3A71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24326f;
/* rgb */ color: rgb(36, 50, 111);
/* oklch */ color: oklch(34.2% 0.107 270.2);
Tailwind
colors: {
  custom: {
    50: '#686999',
    500: '#24326f',
    950: '#000000',
  },
}
SCSS
$custom: #24326f;
$custom-light: #686999;
$custom-dark: #000000;
JSON
{
  "hex": "#24326f",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 228.8,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34225,
    "c": 0.10679,
    "h": 270.2
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#24326F
secondary
#A2924D
accent
#C04DDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #24326F

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

Preview Lab → · Contrast checker → · Palette generator →

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