#191771#191771

#191771 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.147 H 273.0°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#191771
RGBrgb(25, 23, 113)
HSLhsl(241, 66%, 27%)
HSVhsv(241, 80%, 44%)
CMYKcmyk(77.9%, 79.6%, 0%, 55.7%)
CIE-LABlab(15.55, 33.28, -50.74)
CIE-LCHlch(15.55, 60.68, 303.26°)
OKLaboklab(28.63% 0.0077 -0.1468)
OKLCHoklch(28.63% 0.147 273)
XYZxyz(3.6869, 2.0113, 15.8135)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191771 #6F7117
analogous
#174271 #191771 #461771
triadic
#191771 #711917 #177119
tetradic
#191771 #711742 #6F7117 #177146
square
#191771 #711742 #6F7117 #177146
split-complementary
#191771 #714617 #427117
monochromatic
#060519 #0E0D3E #191771 #2421A4 #322ED4

Accessibility & contrast

On white

14.97
#191771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#191771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191771
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191771#FFFFFF#000000##FFFFFF
##1917711.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #191771;
/* rgb */ color: rgb(25, 23, 113);
/* oklch */ color: oklch(28.6% 0.147 273.0);
Tailwind
colors: {
  custom: {
    50: '#66569b',
    500: '#191771',
    950: '#000000',
  },
}
SCSS
$custom: #191771;
$custom-light: #66569b;
$custom-dark: #000000;
JSON
{
  "hex": "#191771",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 241.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.14702,
    "h": 273
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#191771
secondary
#A4A73D
accent
#E93FE5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #191771

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

Preview Lab → · Contrast checker → · Palette generator →

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