#24196B#24196B

#24196B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.134 H 280.1°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#24196B
RGBrgb(36, 25, 107)
HSLhsl(248, 62%, 26%)
HSVhsv(248, 77%, 42%)
CMYKcmyk(66.4%, 76.6%, 0%, 58%)
CIE-LABlab(16.16, 31.25, -45.78)
CIE-LCHlch(16.16, 55.43, 304.32°)
OKLaboklab(29.09% 0.0235 -0.1321)
OKLCHoklch(29.09% 0.134 280.1)
XYZxyz(3.7282, 2.1316, 14.1220)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24196B #606B19
analogous
#19376B #24196B #4D196B
triadic
#24196B #6B2419 #196B24
tetradic
#24196B #6B1937 #606B19 #196B4D
square
#24196B #6B1937 #606B19 #196B4D
split-complementary
#24196B #6B4D19 #376B19
monochromatic
#080619 #130D39 #24196B #35259D #4530CE

Accessibility & contrast

On white

14.72
#24196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#24196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24196B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24196B#FFFFFF#000000##FFFFFF
##24196B1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #24196b;
/* rgb */ color: rgb(36, 25, 107);
/* oklch */ color: oklch(29.1% 0.134 280.1);
Tailwind
colors: {
  custom: {
    50: '#695796',
    500: '#24196b',
    950: '#000000',
  },
}
SCSS
$custom: #24196b;
$custom-light: #695796;
$custom-dark: #000000;
JSON
{
  "hex": "#24196b",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 248.049,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29085,
    "c": 0.13417,
    "h": 280.1
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#24196B
secondary
#94A13F
accent
#E543CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24196B

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

Preview Lab → · Contrast checker → · Palette generator →

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