#191978#191978

#191978 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.154 H 272.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#191978
RGBrgb(25, 25, 120)
HSLhsl(240, 66%, 28%)
HSVhsv(240, 79%, 47%)
CMYKcmyk(79.2%, 79.2%, 0%, 52.9%)
CIE-LABlab(16.78, 34.58, -53.21)
CIE-LCHlch(16.78, 63.45, 303.02°)
OKLaboklab(29.74% 0.0053 -0.154)
OKLCHoklch(29.74% 0.154 272)
XYZxyz(4.1376, 2.2576, 17.9833)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191978 #787819
analogous
#194878 #191978 #481978
triadic
#191978 #781919 #197819
tetradic
#191978 #781948 #787819 #197848
square
#191978 #781948 #787819 #197848
split-complementary
#191978 #784819 #487819
monochromatic
#050519 #0E0E45 #191978 #2424AB #3636D5

Accessibility & contrast

On white

14.47
#191978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#191978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191978
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191978#FFFFFF#000000##FFFFFF
##1919781.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #191978;
/* rgb */ color: rgb(25, 25, 120);
/* oklch */ color: oklch(29.7% 0.154 272.0);
Tailwind
colors: {
  custom: {
    50: '#6857a0',
    500: '#191978',
    950: '#000000',
  },
}
SCSS
$custom: #191978;
$custom-light: #6857a0;
$custom-dark: #000000;
JSON
{
  "hex": "#191978",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 240,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29742,
    "c": 0.15411,
    "h": 272
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#191978
secondary
#ADAD40
accent
#E83FE8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #191978

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

Preview Lab → · Contrast checker → · Palette generator →

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