#18196D#18196D

#18196D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.140 H 272.6°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#18196D
RGBrgb(24, 25, 109)
HSLhsl(239, 64%, 26%)
HSVhsv(239, 78%, 43%)
CMYKcmyk(78%, 77.1%, 0%, 57.3%)
CIE-LABlab(15.45, 30.52, -48.30)
CIE-LCHlch(15.45, 57.13, 302.29°)
OKLaboklab(28.4% 0.0062 -0.1398)
OKLCHoklch(28.4% 0.14 272.6)
XYZxyz(3.4837, 1.9932, 14.6662)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18196D #6D6C18
analogous
#18436D #18196D #41186D
triadic
#18196D #6D1819 #196D18
tetradic
#18196D #6D1843 #6D6C18 #186D41
square
#18196D #6D1843 #6D6C18 #186D41
split-complementary
#18196D #6D4118 #436D18
monochromatic
#060619 #0D0D3B #18196D #23259F #2E30D1

Accessibility & contrast

On white

15.01
#18196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#18196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18196D
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18196D#FFFFFF#000000##FFFFFF
##18196D1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18196d;
/* rgb */ color: rgb(24, 25, 109);
/* oklch */ color: oklch(28.4% 0.140 272.6);
Tailwind
colors: {
  custom: {
    50: '#655798',
    500: '#18196d',
    950: '#000000',
  },
}
SCSS
$custom: #18196d;
$custom-light: #655798;
$custom-dark: #000000;
JSON
{
  "hex": "#18196d",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 239.294,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28404,
    "c": 0.1399,
    "h": 272.6
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#18196D
secondary
#A3A13E
accent
#E541E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #18196D

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

Preview Lab → · Contrast checker → · Palette generator →

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