#191988#191988

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

Color values

HEX#191988
RGBrgb(25, 25, 136)
HSLhsl(240, 69%, 32%)
HSVhsv(240, 82%, 53%)
CMYKcmyk(81.6%, 81.6%, 0%, 46.7%)
CIE-LABlab(18.71, 40.09, -60.18)
CIE-LCHlch(18.71, 72.31, 303.67°)
OKLaboklab(31.66% 0.0019 -0.1742)
OKLCHoklch(31.66% 0.174 270.6)
XYZxyz(5.1910, 2.6789, 23.5313)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191988 #888819
analogous
#195188 #191988 #511988
triadic
#191988 #881919 #198819
tetradic
#191988 #881951 #888819 #198851
square
#191988 #881951 #888819 #198851
split-complementary
#191988 #885119 #518819
monochromatic
#060621 #0F0F54 #191988 #2323BC #4040DC

Accessibility & contrast

On white

13.67
#191988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #191988
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191988#FFFFFF#000000##FFFFFF
##1919881.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #191988;
/* rgb */ color: rgb(25, 25, 136);
/* oklch */ color: oklch(31.7% 0.174 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c58ac',
    500: '#191988',
    950: '#000000',
  },
}
SCSS
$custom: #191988;
$custom-light: #6c58ac;
$custom-dark: #000000;
JSON
{
  "hex": "#191988",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31655,
    "c": 0.17425,
    "h": 270.6
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #191988

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

Preview Lab → · Contrast checker → · Palette generator →

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