#181689#181689

#181689 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.178 H 270.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#181689
RGBrgb(24, 22, 137)
HSLhsl(241, 72%, 31%)
HSVhsv(241, 84%, 54%)
CMYKcmyk(82.5%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.25, 41.92, -61.57)
CIE-LCHlch(18.25, 74.49, 304.25°)
OKLaboklab(31.36% 0.0013 -0.1782)
OKLCHoklch(31.36% 0.178 270.4)
XYZxyz(5.1774, 2.5736, 23.8859)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181689 #878916
analogous
#164D89 #181689 #511689
triadic
#181689 #891816 #168918
tetradic
#181689 #89164D #878916 #168951
square
#181689 #89164D #878916 #168951
split-complementary
#181689 #895116 #4D8916
monochromatic
#060520 #0F0E54 #181689 #211EBE #3D3ADF

Accessibility & contrast

On white

13.86
#181689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#181689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181689
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181689#FFFFFF#000000##FFFFFF
##1816891.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002687
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #181689;
/* rgb */ color: rgb(24, 22, 137);
/* oklch */ color: oklch(31.4% 0.178 270.4);
Tailwind
colors: {
  custom: {
    50: '#6d57ad',
    500: '#181689',
    950: '#000000',
  },
}
SCSS
$custom: #181689;
$custom-light: #6d57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#181689",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 241.043,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.17825,
    "h": 270.4
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#181689
secondary
#BBBD3E
accent
#EF39EC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181689

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

Preview Lab → · Contrast checker → · Palette generator →

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