#24186E#24186E

#24186E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.139 H 279.7°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#24186E
RGBrgb(36, 24, 110)
HSLhsl(248, 64%, 26%)
HSVhsv(248, 78%, 43%)
CMYKcmyk(67.3%, 78.2%, 0%, 56.9%)
CIE-LABlab(16.27, 32.87, -47.56)
CIE-LCHlch(16.27, 57.81, 304.65°)
OKLaboklab(29.26% 0.0235 -0.1373)
OKLCHoklch(29.26% 0.139 279.7)
XYZxyz(3.8678, 2.1538, 14.9607)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24186E #626E18
analogous
#18376E #24186E #4F186E
triadic
#24186E #6E2418 #186E24
tetradic
#24186E #6E1837 #626E18 #186E4F
square
#24186E #6E1837 #626E18 #186E4F
split-complementary
#24186E #6E4F18 #376E18
monochromatic
#080519 #140D3C #24186E #3423A0 #462FD2

Accessibility & contrast

On white

14.68
#24186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#24186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24186E
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24186E#FFFFFF#000000##FFFFFF
##24186E1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #24186e;
/* rgb */ color: rgb(36, 24, 110);
/* oklch */ color: oklch(29.3% 0.139 279.7);
Tailwind
colors: {
  custom: {
    50: '#6a5799',
    500: '#24186e',
    950: '#000000',
  },
}
SCSS
$custom: #24186e;
$custom-light: #6a5799;
$custom-dark: #000000;
JSON
{
  "hex": "#24186e",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 248.372,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29261,
    "c": 0.13927,
    "h": 279.7
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#24186E
secondary
#95A43E
accent
#E741D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24186E

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

Preview Lab → · Contrast checker → · Palette generator →

#24186E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva