#191786#191786

#191786 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.174 H 271.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#191786
RGBrgb(25, 23, 134)
HSLhsl(241, 71%, 31%)
HSVhsv(241, 83%, 53%)
CMYKcmyk(81.3%, 82.8%, 0%, 47.5%)
CIE-LABlab(18.10, 40.48, -59.93)
CIE-LCHlch(18.10, 72.32, 304.04°)
OKLaboklab(31.16% 0.0029 -0.1735)
OKLCHoklch(31.16% 0.174 271)
XYZxyz(5.0089, 2.5401, 22.7759)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191786 #848617
analogous
#174C86 #191786 #501786
triadic
#191786 #861917 #178619
tetradic
#191786 #86174C #848617 #178650
square
#191786 #86174C #848617 #178650
split-complementary
#191786 #865017 #4C8617
monochromatic
#06051E #0F0E52 #191786 #2320BA #3D3ADD

Accessibility & contrast

On white

13.92
#191786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #191786
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191786#FFFFFF#000000##FFFFFF
##1917861.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002684
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #191786;
/* rgb */ color: rgb(25, 23, 134);
/* oklch */ color: oklch(31.2% 0.174 271.0);
Tailwind
colors: {
  custom: {
    50: '#6c57ab',
    500: '#191786',
    950: '#000000',
  },
}
SCSS
$custom: #191786;
$custom-light: #6c57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#191786",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 241.081,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31158,
    "c": 0.17351,
    "h": 271
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#191786
secondary
#B8BA3F
accent
#ED3AEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #191786

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

Preview Lab → · Contrast checker → · Palette generator →

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