#24196F#24196F

#24196F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.139 H 279.3°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#24196F
RGBrgb(36, 25, 111)
HSLhsl(248, 63%, 27%)
HSVhsv(248, 77%, 44%)
CMYKcmyk(67.6%, 77.5%, 0%, 56.5%)
CIE-LABlab(16.59, 32.62, -47.69)
CIE-LCHlch(16.59, 57.78, 304.37°)
OKLaboklab(29.52% 0.0226 -0.1376)
OKLCHoklch(29.52% 0.139 279.3)
XYZxyz(3.9435, 2.2177, 15.2561)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24196F #646F19
analogous
#19396F #24196F #4F196F
triadic
#24196F #6F2419 #196F24
tetradic
#24196F #6F1939 #646F19 #196F4F
square
#24196F #6F1939 #646F19 #196F4F
split-complementary
#24196F #6F4F19 #396F19
monochromatic
#080619 #140E3D #24196F #3424A1 #4632D1

Accessibility & contrast

On white

14.55
#24196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#24196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24196F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24196F#FFFFFF#000000##FFFFFF
##24196F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C71
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #24196f;
/* rgb */ color: rgb(36, 25, 111);
/* oklch */ color: oklch(29.5% 0.139 279.3);
Tailwind
colors: {
  custom: {
    50: '#6a5799',
    500: '#24196f',
    950: '#000000',
  },
}
SCSS
$custom: #24196f;
$custom-light: #6a5799;
$custom-dark: #000000;
JSON
{
  "hex": "#24196f",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 247.674,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29517,
    "c": 0.13949,
    "h": 279.3
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#24196F
secondary
#97A43F
accent
#E642D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24196F

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

Preview Lab → · Contrast checker → · Palette generator →

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