#191171#191171

#191171 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.153 H 273.8°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#191171
RGBrgb(25, 17, 113)
HSLhsl(245, 74%, 25%)
HSVhsv(245, 85%, 44%)
CMYKcmyk(77.9%, 85%, 0%, 55.7%)
CIE-LABlab(14.40, 36.59, -52.64)
CIE-LCHlch(14.40, 64.11, 304.81°)
OKLaboklab(27.82% 0.0101 -0.1523)
OKLCHoklch(27.82% 0.153 273.8)
XYZxyz(3.5810, 1.7995, 15.7782)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191171 #697111
analogous
#113971 #191171 #491171
triadic
#191171 #711911 #117119
tetradic
#191171 #711139 #697111 #117149
square
#191171 #711139 #697111 #117149
split-complementary
#191171 #714911 #397111
monochromatic
#06041B #0D093C #191171 #2519A6 #3121DB

Accessibility & contrast

On white

15.44
#191171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#191171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191171
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191171#FFFFFF#000000##FFFFFF
##1911711.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #191171;
/* rgb */ color: rgb(25, 17, 113);
/* oklch */ color: oklch(27.8% 0.153 273.8);
Tailwind
colors: {
  custom: {
    50: '#67529b',
    500: '#191171',
    950: '#000000',
  },
}
SCSS
$custom: #191171;
$custom-light: #67529b;
$custom-dark: #000000;
JSON
{
  "hex": "#191171",
  "rgb": {
    "r": 25,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 245,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27823,
    "c": 0.1526,
    "h": 273.8
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#191171
secondary
#9FA836
accent
#F137E1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #191171

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

Preview Lab → · Contrast checker → · Palette generator →

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