#191F8E#191F8E

#191F8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.176 H 269.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#191F8E
RGBrgb(25, 31, 142)
HSLhsl(237, 70%, 33%)
HSVhsv(237, 82%, 56%)
CMYKcmyk(82.4%, 78.2%, 0%, 44.3%)
CIE-LABlab(20.59, 38.80, -60.81)
CIE-LCHlch(20.59, 72.14, 302.54°)
OKLaboklab(33.19% -0.001 -0.1762)
OKLCHoklch(33.19% 0.176 269.7)
XYZxyz(5.7717, 3.1390, 25.8876)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F8E #8E8819
analogous
#19598E #191F8E #4D198E
triadic
#191F8E #8E191F #1F8E19
tetradic
#191F8E #8E1959 #8E8819 #198E4D
square
#191F8E #8E1959 #8E8819 #198E4D
split-complementary
#191F8E #8E4D19 #598E19
monochromatic
#070826 #10145A #191F8E #222AC2 #434BDE

Accessibility & contrast

On white

12.90
#191F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#191F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F8E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F8E#FFFFFF#000000##FFFFFF
##191F8E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #191f8e;
/* rgb */ color: rgb(25, 31, 142);
/* oklch */ color: oklch(33.2% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e5cb0',
    500: '#191f8e',
    950: '#000000',
  },
}
SCSS
$custom: #191f8e;
$custom-light: #6e5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#191f8e",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 236.923,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33188,
    "c": 0.17616,
    "h": 269.7
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#191F8E
secondary
#BFB944
accent
#E43BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #191F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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