#191F54#191F54

#191F54 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.096 H 273.3°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#191F54
RGBrgb(25, 31, 84)
HSLhsl(234, 54%, 21%)
HSVhsv(234, 70%, 33%)
CMYKcmyk(70.2%, 63.1%, 0%, 67.1%)
CIE-LABlab(14.55, 16.83, -33.16)
CIE-LCHlch(14.55, 37.19, 296.91°)
OKLaboklab(27% 0.0055 -0.0954)
OKLCHoklch(27% 0.096 273.3)
XYZxyz(2.4906, 1.8265, 8.6071)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F54 #544E19
analogous
#193D54 #191F54 #311954
triadic
#191F54 #54191F #1F5419
tetradic
#191F54 #54193D #544E19 #195431
square
#191F54 #54193D #544E19 #195431
split-complementary
#191F54 #543119 #3D5419
monochromatic
#070918 #0B0E25 #191F54 #273083 #3542B2

Accessibility & contrast

On white

15.38
#191F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#191F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F54
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F54#FFFFFF#000000##FFFFFF
##191F541.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002253
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #191f54;
/* rgb */ color: rgb(25, 31, 84);
/* oklch */ color: oklch(27.0% 0.096 273.3);
Tailwind
colors: {
  custom: {
    50: '#5e5a85',
    500: '#191f54',
    950: '#000000',
  },
}
SCSS
$custom: #191f54;
$custom-light: #5e5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#191f54",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 233.898,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26997,
    "c": 0.09558,
    "h": 273.3
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#191F54
secondary
#8A833E
accent
#CF4ADD
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #191F54

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

Preview Lab → · Contrast checker → · Palette generator →

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