#24167C#24167C

#24167C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.159 H 277.5°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#24167C
RGBrgb(36, 22, 124)
HSLhsl(248, 70%, 29%)
HSVhsv(248, 82%, 49%)
CMYKcmyk(71%, 82.3%, 0%, 51.4%)
CIE-LABlab(17.48, 38.59, -54.60)
CIE-LCHlch(17.48, 66.86, 305.25°)
OKLaboklab(30.58% 0.0209 -0.1577)
OKLCHoklch(30.58% 0.159 277.5)
XYZxyz(4.6514, 2.4037, 19.2837)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24167C #6E7C16
analogous
#163B7C #24167C #57167C
triadic
#24167C #7C2416 #167C24
tetradic
#24167C #7C163B #6E7C16 #167C57
square
#24167C #7C163B #6E7C16 #167C57
split-complementary
#24167C #7C5716 #3B7C16
monochromatic
#08051A #150D48 #24167C #331FB0 #4932DB

Accessibility & contrast

On white

14.18
#24167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#24167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24167C
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24167C#FFFFFF#000000##FFFFFF
##24167C1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #24167c;
/* rgb */ color: rgb(36, 22, 124);
/* oklch */ color: oklch(30.6% 0.159 277.5);
Tailwind
colors: {
  custom: {
    50: '#6d56a3',
    500: '#24167c',
    950: '#000000',
  },
}
SCSS
$custom: #24167c;
$custom-light: #6d56a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24167c",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 248.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30575,
    "c": 0.15912,
    "h": 277.5
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#24167C
secondary
#A1B13D
accent
#ED3BD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24167C

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

Preview Lab → · Contrast checker → · Palette generator →

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