#181189#181189

#181189 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.182 H 270.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#181189
RGBrgb(24, 17, 137)
HSLhsl(244, 78%, 30%)
HSVhsv(244, 88%, 54%)
CMYKcmyk(82.5%, 87.6%, 0%, 46.3%)
CIE-LABlab(17.46, 44.24, -62.88)
CIE-LCHlch(17.46, 76.88, 305.13°)
OKLaboklab(30.81% 0.0023 -0.1819)
OKLCHoklch(30.81% 0.182 270.7)
XYZxyz(5.0910, 2.4006, 23.8571)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181189 #828911
analogous
#114689 #181189 #541189
triadic
#181189 #891811 #118918
tetradic
#181189 #891146 #828911 #118954
square
#181189 #891146 #828911 #118954
split-complementary
#181189 #895411 #468911
monochromatic
#05031C #0E0A53 #181189 #2218BF #3A2FE5

Accessibility & contrast

On white

14.19
#181189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#181189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181189
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181189#FFFFFF#000000##FFFFFF
##1811891.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00318C
Deuteranopia (green-blind)
#002587
Tritanopia (blue-blind)
#003950
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #181189;
/* rgb */ color: rgb(24, 17, 137);
/* oklch */ color: oklch(30.8% 0.182 270.7);
Tailwind
colors: {
  custom: {
    50: '#6d54ad',
    500: '#181189',
    950: '#000000',
  },
}
SCSS
$custom: #181189;
$custom-light: #6d54ad;
$custom-dark: #000000;
JSON
{
  "hex": "#181189",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 137
  },
  "hsl": {
    "h": 243.5,
    "s": 77.922,
    "l": 30.196
  },
  "oklch": {
    "l": 0.30814,
    "c": 0.18192,
    "h": 270.7
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#181189
secondary
#B6BE38
accent
#F433E9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #181189

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

Preview Lab → · Contrast checker → · Palette generator →

#181189 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva