#191788#191788

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

Color values

HEX#191788
RGBrgb(25, 23, 136)
HSLhsl(241, 71%, 31%)
HSVhsv(241, 83%, 53%)
CMYKcmyk(81.6%, 83.1%, 0%, 46.7%)
CIE-LABlab(18.35, 41.14, -60.77)
CIE-LCHlch(18.35, 73.39, 304.10°)
OKLaboklab(31.41% 0.0025 -0.1759)
OKLCHoklch(31.41% 0.176 270.8)
XYZxyz(5.1497, 2.5965, 23.5175)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191788 #868817
analogous
#174D88 #191788 #511788
triadic
#191788 #881917 #178819
tetradic
#191788 #88174D #868817 #178851
square
#191788 #88174D #868817 #178851
split-complementary
#191788 #885117 #4D8817
monochromatic
#06051F #0F0E54 #191788 #2320BC #3E3BDE

Accessibility & contrast

On white

13.82
#191788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#191788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191788
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191788#FFFFFF#000000##FFFFFF
##1917881.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328B
Deuteranopia (green-blind)
#002786
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #191788;
/* rgb */ color: rgb(25, 23, 136);
/* oklch */ color: oklch(31.4% 0.176 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d57ac',
    500: '#191788',
    950: '#000000',
  },
}
SCSS
$custom: #191788;
$custom-light: #6d57ac;
$custom-dark: #000000;
JSON
{
  "hex": "#191788",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 241.062,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.17595,
    "h": 270.8
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#191788
secondary
#BABC3F
accent
#EE3AEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #191788

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

Preview Lab → · Contrast checker → · Palette generator →

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