#191F71#191F71

#191F71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.138 H 271.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#191F71
RGBrgb(25, 31, 113)
HSLhsl(236, 64%, 27%)
HSVhsv(236, 78%, 44%)
CMYKcmyk(77.9%, 72.6%, 0%, 55.7%)
CIE-LABlab(17.36, 28.23, -47.75)
CIE-LCHlch(17.36, 55.47, 300.59°)
OKLaboklab(29.92% 0.0035 -0.1381)
OKLCHoklch(29.92% 0.138 271.4)
XYZxyz(3.8705, 2.3785, 15.8747)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F71 #716B19
analogous
#194B71 #191F71 #3F1971
triadic
#191F71 #71191F #1F7119
tetradic
#191F71 #71194B #716B19 #19713F
square
#191F71 #71194B #716B19 #19713F
split-complementary
#191F71 #713F19 #4B7119
monochromatic
#060719 #0E113F #191F71 #242DA3 #333DD2

Accessibility & contrast

On white

14.23
#191F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#191F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F71
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F71#FFFFFF#000000##FFFFFF
##191F711.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #191f71;
/* rgb */ color: rgb(25, 31, 113);
/* oklch */ color: oklch(29.9% 0.138 271.4);
Tailwind
colors: {
  custom: {
    50: '#655b9b',
    500: '#191f71',
    950: '#000000',
  },
}
SCSS
$custom: #191f71;
$custom-light: #655b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#191f71",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 235.909,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29921,
    "c": 0.13819,
    "h": 271.4
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#191F71
secondary
#A69F40
accent
#DB41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #191F71

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

Preview Lab → · Contrast checker → · Palette generator →

#191F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva