#18199F#18199F

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

Color values

HEX#18199F
RGBrgb(24, 25, 159)
HSLhsl(240, 74%, 36%)
HSVhsv(240, 85%, 62%)
CMYKcmyk(84.9%, 84.3%, 0%, 37.6%)
CIE-LABlab(21.55, 47.54, -69.71)
CIE-LCHlch(21.55, 84.38, 304.29°)
OKLaboklab(34.45% -0.004 -0.2018)
OKLCHoklch(34.45% 0.202 268.9)
XYZxyz(6.9802, 3.3918, 33.0810)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18199F #9F9E18
analogous
#185C9F #18199F #5B189F
triadic
#18199F #9F1819 #199F18
tetradic
#18199F #9F185C #9F9E18 #189F5B
square
#18199F #9F185C #9F9E18 #189F5B
split-complementary
#18199F #9F5B18 #5C9F18
monochromatic
#080835 #10116A #18199F #2021D4 #4D4EE4

Accessibility & contrast

On white

12.51
#18199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#18199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18199F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18199F#FFFFFF#000000##FFFFFF
##18199F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #18199f;
/* rgb */ color: rgb(24, 25, 159);
/* oklch */ color: oklch(34.4% 0.202 268.9);
Tailwind
colors: {
  custom: {
    50: '#735abd',
    500: '#18199f',
    950: '#000000',
  },
}
SCSS
$custom: #18199f;
$custom-light: #735abd;
$custom-dark: #000000;
JSON
{
  "hex": "#18199f",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 239.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34445,
    "c": 0.20188,
    "h": 268.9
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#18199F
secondary
#C6C54D
accent
#EF37F0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #18199F

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

Preview Lab → · Contrast checker → · Palette generator →

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