#191871#191871

#191871 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.146 H 272.8°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#191871
RGBrgb(25, 24, 113)
HSLhsl(241, 65%, 27%)
HSVhsv(241, 79%, 44%)
CMYKcmyk(77.9%, 78.8%, 0%, 55.7%)
CIE-LABlab(15.76, 32.68, -50.39)
CIE-LCHlch(15.76, 60.06, 302.97°)
OKLaboklab(28.78% 0.0072 -0.1458)
OKLCHoklch(28.78% 0.146 272.8)
XYZxyz(3.7072, 2.0518, 15.8202)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191871 #707118
analogous
#184471 #191871 #461871
triadic
#191871 #711918 #187119
tetradic
#191871 #711844 #707118 #187146
square
#191871 #711844 #707118 #187146
split-complementary
#191871 #714618 #447118
monochromatic
#060519 #0E0D3F #191871 #2423A3 #3230D3

Accessibility & contrast

On white

14.89
#191871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#191871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191871
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191871#FFFFFF#000000##FFFFFF
##1918711.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #191871;
/* rgb */ color: rgb(25, 24, 113);
/* oklch */ color: oklch(28.8% 0.146 272.8);
Tailwind
colors: {
  custom: {
    50: '#66569b',
    500: '#191871',
    950: '#000000',
  },
}
SCSS
$custom: #191871;
$custom-light: #66569b;
$custom-dark: #000000;
JSON
{
  "hex": "#191871",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 240.674,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28775,
    "c": 0.146,
    "h": 272.8
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#191871
secondary
#A5A63E
accent
#E840E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #191871

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

Preview Lab → · Contrast checker → · Palette generator →

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