#18119F#18119F

#18119F is a dark, highly saturated blue. Relative luminance 0.031; OKLCH L 33.7% C 0.207 H 269.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#18119F
RGBrgb(24, 17, 159)
HSLhsl(243, 81%, 35%)
HSVhsv(243, 89%, 62%)
CMYKcmyk(84.9%, 89.3%, 0%, 37.6%)
CIE-LABlab(20.43, 50.88, -71.58)
CIE-LCHlch(20.43, 87.81, 305.41°)
OKLaboklab(33.68% -0.0031 -0.207)
OKLCHoklch(33.68% 0.207 269.2)
XYZxyz(6.8330, 3.0975, 33.0319)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18119F #989F11
analogous
#11519F #18119F #5F119F
triadic
#18119F #9F1811 #119F18
tetradic
#18119F #9F1151 #989F11 #119F5F
square
#18119F #9F1151 #989F11 #119F5F
split-complementary
#18119F #9F5F11 #519F11
monochromatic
#070530 #100B68 #18119F #2017D6 #4840EB

Accessibility & contrast

On white

12.97
#18119F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#18119F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18119F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18119F#FFFFFF#000000##FFFFFF
##18119F1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0038A3
Deuteranopia (green-blind)
#002A9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18119f;
/* rgb */ color: rgb(24, 17, 159);
/* oklch */ color: oklch(33.7% 0.207 269.2);
Tailwind
colors: {
  custom: {
    50: '#7356bd',
    500: '#18119f',
    950: '#000000',
  },
}
SCSS
$custom: #18119f;
$custom-light: #7356bd;
$custom-dark: #000000;
JSON
{
  "hex": "#18119f",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 159
  },
  "hsl": {
    "h": 242.958,
    "s": 80.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.33676,
    "c": 0.20705,
    "h": 269.2
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#18119F
secondary
#C4CA42
accent
#F731ED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #18119F

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

Preview Lab → · Contrast checker → · Palette generator →

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