#191979#191979

#191979 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.155 H 271.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#191979
RGBrgb(25, 25, 121)
HSLhsl(240, 66%, 29%)
HSVhsv(240, 79%, 47%)
CMYKcmyk(79.3%, 79.3%, 0%, 52.5%)
CIE-LABlab(16.90, 34.93, -53.65)
CIE-LCHlch(16.90, 64.02, 303.06°)
OKLaboklab(29.86% 0.0051 -0.1553)
OKLCHoklch(29.86% 0.155 271.9)
XYZxyz(4.1986, 2.2820, 18.3046)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191979 #797919
analogous
#194979 #191979 #491979
triadic
#191979 #791919 #197919
tetradic
#191979 #791949 #797919 #197949
square
#191979 #791949 #797919 #197949
split-complementary
#191979 #794919 #497919
monochromatic
#050519 #0F0F46 #191979 #2323AC #3737D6

Accessibility & contrast

On white

14.42
#191979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#191979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191979
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191979#FFFFFF#000000##FFFFFF
##1919791.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #191979;
/* rgb */ color: rgb(25, 25, 121);
/* oklch */ color: oklch(29.9% 0.155 271.9);
Tailwind
colors: {
  custom: {
    50: '#6857a1',
    500: '#191979',
    950: '#000000',
  },
}
SCSS
$custom: #191979;
$custom-light: #6857a1;
$custom-dark: #000000;
JSON
{
  "hex": "#191979",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.2986,
    "c": 0.1554,
    "h": 271.9
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#191979
secondary
#AEAE40
accent
#E93FE9
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #191979

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

Preview Lab → · Contrast checker → · Palette generator →

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