#18196A#18196A

#18196A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.136 H 272.9°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#18196A
RGBrgb(24, 25, 106)
HSLhsl(239, 63%, 25%)
HSVhsv(239, 77%, 42%)
CMYKcmyk(77.4%, 76.4%, 0%, 58.4%)
CIE-LABlab(15.11, 29.41, -46.89)
CIE-LCHlch(15.11, 55.35, 302.10°)
OKLaboklab(28.06% 0.0068 -0.1357)
OKLCHoklch(28.06% 0.136 272.9)
XYZxyz(3.3250, 1.9297, 13.8301)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18196A #6A6918
analogous
#18426A #18196A #40186A
triadic
#18196A #6A1819 #196A18
tetradic
#18196A #6A1842 #6A6918 #186A40
square
#18196A #6A1842 #6A6918 #186A40
split-complementary
#18196A #6A4018 #426A18
monochromatic
#060619 #0D0D38 #18196A #23259C #2F31CE

Accessibility & contrast

On white

15.15
#18196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#18196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18196A
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18196A#FFFFFF#000000##FFFFFF
##18196A1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18196a;
/* rgb */ color: rgb(24, 25, 106);
/* oklch */ color: oklch(28.1% 0.136 272.9);
Tailwind
colors: {
  custom: {
    50: '#645696',
    500: '#18196a',
    950: '#000000',
  },
}
SCSS
$custom: #18196a;
$custom-light: #645696;
$custom-dark: #000000;
JSON
{
  "hex": "#18196a",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 239.268,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28063,
    "c": 0.13584,
    "h": 272.9
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#18196A
secondary
#A09F3E
accent
#E442E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #18196A

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

Preview Lab → · Contrast checker → · Palette generator →

#18196A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva