#24167D#24167D

#24167D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.160 H 277.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#24167D
RGBrgb(36, 22, 125)
HSLhsl(248, 70%, 29%)
HSVhsv(248, 82%, 49%)
CMYKcmyk(71.2%, 82.4%, 0%, 51%)
CIE-LABlab(17.59, 38.91, -55.04)
CIE-LCHlch(17.59, 67.40, 305.26°)
OKLaboklab(30.69% 0.0206 -0.159)
OKLCHoklch(30.69% 0.16 277.4)
XYZxyz(4.7149, 2.4291, 19.6185)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24167D #6F7D16
analogous
#163C7D #24167D #58167D
triadic
#24167D #7D2416 #167D24
tetradic
#24167D #7D163C #6F7D16 #167D58
square
#24167D #7D163C #6F7D16 #167D58
split-complementary
#24167D #7D5816 #3C7D16
monochromatic
#07051A #150D49 #24167D #331FB1 #4932DB

Accessibility & contrast

On white

14.13
#24167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#24167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24167D
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24167D#FFFFFF#000000##FFFFFF
##24167D1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #24167d;
/* rgb */ color: rgb(36, 22, 125);
/* oklch */ color: oklch(30.7% 0.160 277.4);
Tailwind
colors: {
  custom: {
    50: '#6e57a4',
    500: '#24167d',
    950: '#000000',
  },
}
SCSS
$custom: #24167d;
$custom-light: #6e57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24167d",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 248.155,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30691,
    "c": 0.16036,
    "h": 277.4
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#24167D
secondary
#A2B23D
accent
#ED3BD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24167D

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

Preview Lab → · Contrast checker → · Palette generator →

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