#191172#191172

#191172 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.154 H 273.7°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#191172
RGBrgb(25, 17, 114)
HSLhsl(245, 74%, 26%)
HSVhsv(245, 85%, 45%)
CMYKcmyk(78.1%, 85.1%, 0%, 55.3%)
CIE-LABlab(14.52, 36.93, -53.08)
CIE-LCHlch(14.52, 64.66, 304.83°)
OKLaboklab(27.95% 0.0098 -0.1535)
OKLCHoklch(27.95% 0.154 273.7)
XYZxyz(3.6376, 1.8221, 16.0763)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191172 #6A7211
analogous
#113A72 #191172 #491172
triadic
#191172 #721911 #117219
tetradic
#191172 #72113A #6A7211 #117249
square
#191172 #72113A #6A7211 #117249
split-complementary
#191172 #724911 #3A7211
monochromatic
#06041B #0D093D #191172 #2519A7 #3021DD

Accessibility & contrast

On white

15.39
#191172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#191172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191172
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191172#FFFFFF#000000##FFFFFF
##1911721.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #191172;
/* rgb */ color: rgb(25, 17, 114);
/* oklch */ color: oklch(27.9% 0.154 273.7);
Tailwind
colors: {
  custom: {
    50: '#67529c',
    500: '#191172',
    950: '#000000',
  },
}
SCSS
$custom: #191172;
$custom-light: #67529c;
$custom-dark: #000000;
JSON
{
  "hex": "#191172",
  "rgb": {
    "r": 25,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 244.948,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27947,
    "c": 0.15385,
    "h": 273.7
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#191172
secondary
#A0A936
accent
#F137E1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #191172

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

Preview Lab → · Contrast checker → · Palette generator →

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