#18199E#18199E

#18199E is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.3% C 0.201 H 268.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#18199E
RGBrgb(24, 25, 158)
HSLhsl(240, 74%, 36%)
HSVhsv(240, 85%, 62%)
CMYKcmyk(84.8%, 84.2%, 0%, 38%)
CIE-LABlab(21.42, 47.22, -69.31)
CIE-LCHlch(21.42, 83.87, 304.26°)
OKLaboklab(34.32% -0.0038 -0.2007)
OKLCHoklch(34.32% 0.201 268.9)
XYZxyz(6.8938, 3.3572, 32.6258)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18199E #9E9D18
analogous
#185C9E #18199E #5A189E
triadic
#18199E #9E1819 #199E18
tetradic
#18199E #9E185C #9E9D18 #189E5A
square
#18199E #9E185C #9E9D18 #189E5A
split-complementary
#18199E #9E5A18 #5C9E18
monochromatic
#080834 #101169 #18199E #2021D3 #4D4EE4

Accessibility & contrast

On white

12.56
#18199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#18199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18199E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18199E#FFFFFF#000000##FFFFFF
##18199E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #18199e;
/* rgb */ color: rgb(24, 25, 158);
/* oklch */ color: oklch(34.3% 0.201 268.9);
Tailwind
colors: {
  custom: {
    50: '#725abc',
    500: '#18199e',
    950: '#000000',
  },
}
SCSS
$custom: #18199e;
$custom-light: #725abc;
$custom-dark: #000000;
JSON
{
  "hex": "#18199e",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 239.552,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3432,
    "c": 0.20072,
    "h": 268.9
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#18199E
secondary
#C6C54C
accent
#EF38F0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #18199E

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

Preview Lab → · Contrast checker → · Palette generator →

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