#191878#191878

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

Color values

HEX#191878
RGBrgb(25, 24, 120)
HSLhsl(241, 67%, 28%)
HSVhsv(241, 80%, 47%)
CMYKcmyk(79.2%, 80%, 0%, 52.9%)
CIE-LABlab(16.58, 35.16, -53.55)
CIE-LCHlch(16.58, 64.06, 303.29°)
OKLaboklab(29.6% 0.0057 -0.155)
OKLCHoklch(29.6% 0.155 272.1)
XYZxyz(4.1166, 2.2156, 17.9764)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191878 #777818
analogous
#184778 #191878 #491878
triadic
#191878 #781918 #187819
tetradic
#191878 #781847 #777818 #187849
square
#191878 #781847 #777818 #187849
split-complementary
#191878 #784918 #477818
monochromatic
#05051A #0E0E45 #191878 #2422AB #3634D6

Accessibility & contrast

On white

14.55
#191878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#191878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191878
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191878#FFFFFF#000000##FFFFFF
##1918781.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #191878;
/* rgb */ color: rgb(25, 24, 120);
/* oklch */ color: oklch(29.6% 0.155 272.1);
Tailwind
colors: {
  custom: {
    50: '#6857a0',
    500: '#191878',
    950: '#000000',
  },
}
SCSS
$custom: #191878;
$custom-light: #6857a0;
$custom-dark: #000000;
JSON
{
  "hex": "#191878",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 240.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29598,
    "c": 0.1551,
    "h": 272.1
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#191878
secondary
#ACAD3F
accent
#EA3EE8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #191878

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

Preview Lab → · Contrast checker → · Palette generator →

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