#191581#191581

#191581 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.169 H 271.6°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#191581
RGBrgb(25, 21, 129)
HSLhsl(242, 72%, 29%)
HSVhsv(242, 84%, 51%)
CMYKcmyk(80.6%, 83.7%, 0%, 49.4%)
CIE-LABlab(17.12, 39.85, -58.39)
CIE-LCHlch(17.12, 70.70, 304.31°)
OKLaboklab(30.3% 0.0047 -0.169)
OKLCHoklch(30.3% 0.169 271.6)
XYZxyz(4.6302, 2.3275, 20.9698)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191581 #7D8115
analogous
#154781 #191581 #4F1581
triadic
#191581 #811915 #158119
tetradic
#191581 #811547 #7D8115 #15814F
square
#191581 #811547 #7D8115 #15814F
split-complementary
#191581 #814F15 #478115
monochromatic
#05041A #0F0C4C #191581 #231EB6 #3933DE

Accessibility & contrast

On white

14.33
#191581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#191581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191581
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191581#FFFFFF#000000##FFFFFF
##1915811.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #191581;
/* rgb */ color: rgb(25, 21, 129);
/* oklch */ color: oklch(30.3% 0.169 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b56a7',
    500: '#191581',
    950: '#000000',
  },
}
SCSS
$custom: #191581;
$custom-light: #6b56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#191581",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 242.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30296,
    "c": 0.16907,
    "h": 271.6
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#191581
secondary
#B1B63C
accent
#EF39E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #191581

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

Preview Lab → · Contrast checker → · Palette generator →

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