#191D7F#191D7F

#191D7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.159 H 270.8°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#191D7F
RGBrgb(25, 29, 127)
HSLhsl(238, 67%, 30%)
HSVhsv(238, 80%, 50%)
CMYKcmyk(80.3%, 77.2%, 0%, 50.2%)
CIE-LABlab(18.44, 34.68, -54.94)
CIE-LCHlch(18.44, 64.97, 302.26°)
OKLaboklab(31.15% 0.0023 -0.1591)
OKLCHoklch(31.15% 0.159 270.8)
XYZxyz(4.6697, 2.6172, 20.3336)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191D7F #7F7B19
analogous
#19507F #191D7F #48197F
triadic
#191D7F #7F191D #1D7F19
tetradic
#191D7F #7F1950 #7F7B19 #197F48
square
#191D7F #7F1950 #7F7B19 #197F48
split-complementary
#191D7F #7F4819 #507F19
monochromatic
#05061A #0F114C #191D7F #2329B2 #3A40D8

Accessibility & contrast

On white

13.78
#191D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#191D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191D7F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191D7F#FFFFFF#000000##FFFFFF
##191D7F1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #191d7f;
/* rgb */ color: rgb(25, 29, 127);
/* oklch */ color: oklch(31.2% 0.159 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a5aa5',
    500: '#191d7f',
    950: '#000000',
  },
}
SCSS
$custom: #191d7f;
$custom-light: #6a5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#191d7f",
  "rgb": {
    "r": 25,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 237.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31154,
    "c": 0.15911,
    "h": 270.8
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#191D7F
secondary
#B3AF41
accent
#E33EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #191D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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