#191989#191989

#191989 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.175 H 270.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#191989
RGBrgb(25, 25, 137)
HSLhsl(240, 69%, 32%)
HSVhsv(240, 82%, 54%)
CMYKcmyk(81.8%, 81.8%, 0%, 46.3%)
CIE-LABlab(18.83, 40.43, -60.60)
CIE-LCHlch(18.83, 72.85, 303.71°)
OKLaboklab(31.78% 0.0017 -0.1755)
OKLCHoklch(31.78% 0.175 270.6)
XYZxyz(5.2624, 2.7075, 23.9073)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191989 #898919
analogous
#195189 #191989 #511989
triadic
#191989 #891919 #198919
tetradic
#191989 #891951 #898919 #198951
square
#191989 #891951 #898919 #198951
split-complementary
#191989 #895119 #518919
monochromatic
#060621 #101055 #191989 #2222BD #4040DC

Accessibility & contrast

On white

13.62
#191989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#191989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191989
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191989#FFFFFF#000000##FFFFFF
##1919891.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #191989;
/* rgb */ color: rgb(25, 25, 137);
/* oklch */ color: oklch(31.8% 0.175 270.6);
Tailwind
colors: {
  custom: {
    50: '#6d58ad',
    500: '#191989',
    950: '#000000',
  },
}
SCSS
$custom: #191989;
$custom-light: #6d58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#191989",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31777,
    "c": 0.17548,
    "h": 270.6
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#191989
secondary
#BCBC41
accent
#EC3CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #191989

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

Preview Lab → · Contrast checker → · Palette generator →

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