#191F87#191F87

#191F87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.167 H 270.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#191F87
RGBrgb(25, 31, 135)
HSLhsl(237, 69%, 31%)
HSVhsv(237, 81%, 53%)
CMYKcmyk(81.5%, 77%, 0%, 47.1%)
CIE-LABlab(19.78, 36.33, -57.77)
CIE-LCHlch(19.78, 68.25, 302.17°)
OKLaboklab(32.38% 0.0002 -0.1673)
OKLCHoklch(32.38% 0.167 270.1)
XYZxyz(5.2626, 2.9353, 23.2062)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F87 #878119
analogous
#195687 #191F87 #4A1987
triadic
#191F87 #87191F #1F8719
tetradic
#191F87 #871956 #878119 #19874A
square
#191F87 #871956 #878119 #19874A
split-complementary
#191F87 #874A19 #568719
monochromatic
#060720 #0F1353 #191F87 #232BBB #3F48DB

Accessibility & contrast

On white

13.23
#191F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#191F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F87
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F87#FFFFFF#000000##FFFFFF
##191F871.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #191f87;
/* rgb */ color: rgb(25, 31, 135);
/* oklch */ color: oklch(32.4% 0.167 270.1);
Tailwind
colors: {
  custom: {
    50: '#6c5cab',
    500: '#191f87',
    950: '#000000',
  },
}
SCSS
$custom: #191f87;
$custom-light: #6c5cab;
$custom-dark: #000000;
JSON
{
  "hex": "#191f87",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 236.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32377,
    "c": 0.16734,
    "h": 270.1
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#191F87
secondary
#BAB441
accent
#E23CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #191F87

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

Preview Lab → · Contrast checker → · Palette generator →

#191F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva