#191971#191971

#191971 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.145 H 272.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#191971
RGBrgb(25, 25, 113)
HSLhsl(240, 64%, 27%)
HSVhsv(240, 78%, 44%)
CMYKcmyk(77.9%, 77.9%, 0%, 55.7%)
CIE-LABlab(15.97, 32.08, -50.03)
CIE-LCHlch(15.97, 59.43, 302.66°)
OKLaboklab(28.93% 0.0067 -0.1448)
OKLCHoklch(28.93% 0.145 272.7)
XYZxyz(3.7282, 2.0938, 15.8272)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191971 #717119
analogous
#194571 #191971 #451971
triadic
#191971 #711919 #197119
tetradic
#191971 #711945 #717119 #197145
square
#191971 #711945 #717119 #197145
split-complementary
#191971 #714519 #457119
monochromatic
#060619 #0E0E3F #191971 #2424A3 #3333D2

Accessibility & contrast

On white

14.80
#191971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#191971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191971
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191971#FFFFFF#000000##FFFFFF
##1919711.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #191971;
/* rgb */ color: rgb(25, 25, 113);
/* oklch */ color: oklch(28.9% 0.145 272.7);
Tailwind
colors: {
  custom: {
    50: '#66579b',
    500: '#191971',
    950: '#000000',
  },
}
SCSS
$custom: #191971;
$custom-light: #66579b;
$custom-dark: #000000;
JSON
{
  "hex": "#191971",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 240,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28927,
    "c": 0.14496,
    "h": 272.7
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#191971
secondary
#A6A640
accent
#E741E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #191971

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

Preview Lab → · Contrast checker → · Palette generator →

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