#24169F#24169F

#24169F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.201 H 273.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#24169F
RGBrgb(36, 22, 159)
HSLhsl(246, 76%, 35%)
HSVhsv(246, 86%, 62%)
CMYKcmyk(77.4%, 86.2%, 0%, 37.6%)
CIE-LABlab(21.77, 49.46, -69.33)
CIE-LCHlch(21.77, 85.16, 305.50°)
OKLaboklab(34.78% 0.0106 -0.2005)
OKLCHoklch(34.78% 0.201 273)
XYZxyz(7.2704, 3.4513, 33.0772)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24169F #919F16
analogous
#164D9F #24169F #68169F
triadic
#24169F #9F2416 #169F24
tetradic
#24169F #9F164D #919F16 #169F68
square
#24169F #9F164D #919F16 #169F68
split-complementary
#24169F #9F6816 #4D9F16
monochromatic
#0C0733 #180F69 #24169F #301DD5 #594AE6

Accessibility & contrast

On white

12.42
#24169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#24169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24169F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24169F#FFFFFF#000000##FFFFFF
##24169F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24169f;
/* rgb */ color: rgb(36, 22, 159);
/* oklch */ color: oklch(34.8% 0.201 273.0);
Tailwind
colors: {
  custom: {
    50: '#7659bd',
    500: '#24169f',
    950: '#000000',
  },
}
SCSS
$custom: #24169f;
$custom-light: #7659bd;
$custom-dark: #000000;
JSON
{
  "hex": "#24169f",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 246.131,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.20076,
    "h": 273
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#24169F
secondary
#BAC74A
accent
#F236DF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24169F

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

Preview Lab → · Contrast checker → · Palette generator →

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