#191F8F#191F8F

#191F8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.177 H 269.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#191F8F
RGBrgb(25, 31, 143)
HSLhsl(237, 70%, 33%)
HSVhsv(237, 83%, 56%)
CMYKcmyk(82.5%, 78.3%, 0%, 43.9%)
CIE-LABlab(20.71, 39.15, -61.24)
CIE-LCHlch(20.71, 72.69, 302.59°)
OKLaboklab(33.31% -0.0012 -0.1774)
OKLCHoklch(33.31% 0.177 269.6)
XYZxyz(5.8471, 3.1691, 26.2848)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F8F #8F8919
analogous
#195A8F #191F8F #4E198F
triadic
#191F8F #8F191F #1F8F19
tetradic
#191F8F #8F195A #8F8919 #198F4E
square
#191F8F #8F195A #8F8919 #198F4E
split-complementary
#191F8F #8F4E19 #5A8F19
monochromatic
#070827 #10145B #191F8F #222AC3 #444CDE

Accessibility & contrast

On white

12.85
#191F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #191F8F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F8F#FFFFFF#000000##FFFFFF
##191F8F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #191f8f;
/* rgb */ color: rgb(25, 31, 143);
/* oklch */ color: oklch(33.3% 0.177 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e5cb1',
    500: '#191f8f',
    950: '#000000',
  },
}
SCSS
$custom: #191f8f;
$custom-light: #6e5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#191f8f",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 236.949,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.1774,
    "h": 269.6
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #191F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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