#24167B#24167B

#24167B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.158 H 277.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#24167B
RGBrgb(36, 22, 123)
HSLhsl(248, 70%, 28%)
HSVhsv(248, 82%, 48%)
CMYKcmyk(70.7%, 82.1%, 0%, 51.8%)
CIE-LABlab(17.36, 38.27, -54.15)
CIE-LCHlch(17.36, 66.31, 305.25°)
OKLaboklab(30.46% 0.0212 -0.1564)
OKLCHoklch(30.46% 0.158 277.7)
XYZxyz(4.5885, 2.3785, 18.9523)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24167B #6D7B16
analogous
#163A7B #24167B #56167B
triadic
#24167B #7B2416 #167B24
tetradic
#24167B #7B163A #6D7B16 #167B56
square
#24167B #7B163A #6D7B16 #167B56
split-complementary
#24167B #7B5616 #3A7B16
monochromatic
#08051A #150D47 #24167B #331FAF #4931DA

Accessibility & contrast

On white

14.23
#24167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24167B
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24167B#FFFFFF#000000##FFFFFF
##24167B1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #24167b;
/* rgb */ color: rgb(36, 22, 123);
/* oklch */ color: oklch(30.5% 0.158 277.7);
Tailwind
colors: {
  custom: {
    50: '#6d56a2',
    500: '#24167b',
    950: '#000000',
  },
}
SCSS
$custom: #24167b;
$custom-light: #6d56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24167b",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 248.317,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30459,
    "c": 0.15787,
    "h": 277.7
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#24167B
secondary
#A0B03D
accent
#EC3BD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24167B

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

Preview Lab → · Contrast checker → · Palette generator →

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