#191977#191977

#191977 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.153 H 272.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#191977
RGBrgb(25, 25, 119)
HSLhsl(240, 65%, 28%)
HSVhsv(240, 79%, 47%)
CMYKcmyk(79%, 79%, 0%, 53.3%)
CIE-LABlab(16.67, 34.22, -52.76)
CIE-LCHlch(16.67, 62.89, 302.97°)
OKLaboklab(29.63% 0.0055 -0.1527)
OKLCHoklch(29.63% 0.153 272.1)
XYZxyz(4.0772, 2.2334, 17.6654)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191977 #777719
analogous
#194877 #191977 #481977
triadic
#191977 #771919 #197719
tetradic
#191977 #771948 #777719 #197748
square
#191977 #771948 #777719 #197748
split-complementary
#191977 #774819 #487719
monochromatic
#050519 #0E0E44 #191977 #2424AA #3636D5

Accessibility & contrast

On white

14.51
#191977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #191977
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191977#FFFFFF#000000##FFFFFF
##1919771.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #191977;
/* rgb */ color: rgb(25, 25, 119);
/* oklch */ color: oklch(29.6% 0.153 272.1);
Tailwind
colors: {
  custom: {
    50: '#68579f',
    500: '#191977',
    950: '#000000',
  },
}
SCSS
$custom: #191977;
$custom-light: #68579f;
$custom-dark: #000000;
JSON
{
  "hex": "#191977",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 240,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29625,
    "c": 0.15282,
    "h": 272.1
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#191977
secondary
#ACAC40
accent
#E840E8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #191977

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

Preview Lab → · Contrast checker → · Palette generator →

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