#191579#191579

#191579 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.159 H 272.4°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#191579
RGBrgb(25, 21, 121)
HSLhsl(242, 70%, 28%)
HSVhsv(242, 83%, 47%)
CMYKcmyk(79.3%, 82.6%, 0%, 52.5%)
CIE-LABlab(16.12, 37.18, -54.95)
CIE-LCHlch(16.12, 66.35, 304.08°)
OKLaboklab(29.31% 0.0066 -0.159)
OKLCHoklch(29.31% 0.159 272.4)
XYZxyz(4.1191, 2.1230, 18.2782)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191579 #757915
analogous
#154379 #191579 #4B1579
triadic
#191579 #791915 #157919
tetradic
#191579 #791543 #757915 #15794B
square
#191579 #791543 #757915 #15794B
split-complementary
#191579 #794B15 #437915
monochromatic
#05051A #0E0C45 #191579 #241EAD #352EDB

Accessibility & contrast

On white

14.74
#191579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#191579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191579
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191579#FFFFFF#000000##FFFFFF
##1915791.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #191579;
/* rgb */ color: rgb(25, 21, 121);
/* oklch */ color: oklch(29.3% 0.159 272.4);
Tailwind
colors: {
  custom: {
    50: '#6955a1',
    500: '#191579',
    950: '#000000',
  },
}
SCSS
$custom: #191579;
$custom-light: #6955a1;
$custom-dark: #000000;
JSON
{
  "hex": "#191579",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 242.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29311,
    "c": 0.15916,
    "h": 272.4
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#191579
secondary
#AAAF3B
accent
#ED3BE6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #191579

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

Preview Lab → · Contrast checker → · Palette generator →

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