#191F4D#191F4D

#191F4D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.084 H 273.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#191F4D
RGBrgb(25, 31, 77)
HSLhsl(233, 51%, 20%)
HSVhsv(233, 68%, 30%)
CMYKcmyk(67.5%, 59.7%, 0%, 69.8%)
CIE-LABlab(13.96, 14.02, -29.36)
CIE-LCHlch(13.96, 32.53, 295.52°)
OKLaboklab(26.37% 0.0052 -0.0842)
OKLCHoklch(26.37% 0.084 273.6)
XYZxyz(2.2300, 1.7223, 7.2347)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F4D #4D4719
analogous
#19394D #191F4D #2D194D
triadic
#191F4D #4D191F #1F4D19
tetradic
#191F4D #4D1939 #4D4719 #194D2D
square
#191F4D #4D1939 #4D4719 #194D2D
split-complementary
#191F4D #4D2D19 #394D19
monochromatic
#080917 #0A0C1F #191F4D #28327B #3744A9

Accessibility & contrast

On white

15.62
#191F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#191F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F4D
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F4D#FFFFFF#000000##FFFFFF
##191F4D1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #191f4d;
/* rgb */ color: rgb(25, 31, 77);
/* oklch */ color: oklch(26.4% 0.084 273.6);
Tailwind
colors: {
  custom: {
    50: '#5c5a7f',
    500: '#191f4d',
    950: '#000000',
  },
}
SCSS
$custom: #191f4d;
$custom-light: #5c5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#191f4d",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 233.077,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.26368,
    "c": 0.08438,
    "h": 273.6
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#191F4D
secondary
#837B3E
accent
#CA4DDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #191F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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