#191C7F#191C7F

#191C7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.160 H 271.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#191C7F
RGBrgb(25, 28, 127)
HSLhsl(238, 67%, 30%)
HSVhsv(238, 80%, 50%)
CMYKcmyk(80.3%, 78%, 0%, 50.2%)
CIE-LABlab(18.23, 35.28, -55.29)
CIE-LCHlch(18.23, 65.59, 302.54°)
OKLaboklab(31% 0.0027 -0.1601)
OKLCHoklch(31% 0.16 271)
XYZxyz(4.6456, 2.5690, 20.3256)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191C7F #7F7C19
analogous
#194F7F #191C7F #49197F
triadic
#191C7F #7F191C #1C7F19
tetradic
#191C7F #7F194F #7F7C19 #197F49
square
#191C7F #7F194F #7F7C19 #197F49
split-complementary
#191C7F #7F4919 #4F7F19
monochromatic
#05061A #0F114C #191C7F #2327B2 #3A3FD8

Accessibility & contrast

On white

13.87
#191C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#191C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191C7F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191C7F#FFFFFF#000000##FFFFFF
##191C7F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #191c7f;
/* rgb */ color: rgb(25, 28, 127);
/* oklch */ color: oklch(31.0% 0.160 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a5aa5',
    500: '#191c7f',
    950: '#000000',
  },
}
SCSS
$custom: #191c7f;
$custom-light: #6a5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#191c7f",
  "rgb": {
    "r": 25,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 238.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.16012,
    "h": 271
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#191C7F
secondary
#B3B041
accent
#E53EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #191C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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