#191F52#191F52

#191F52 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.092 H 273.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#191F52
RGBrgb(25, 31, 82)
HSLhsl(234, 53%, 21%)
HSVhsv(234, 70%, 32%)
CMYKcmyk(69.5%, 62.2%, 0%, 67.8%)
CIE-LABlab(14.38, 16.03, -32.09)
CIE-LCHlch(14.38, 35.87, 296.54°)
OKLaboklab(26.81% 0.0054 -0.0923)
OKLCHoklch(26.81% 0.092 273.4)
XYZxyz(2.4134, 1.7956, 8.2004)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F52 #524C19
analogous
#193B52 #191F52 #2F1952
triadic
#191F52 #52191F #1F5219
tetradic
#191F52 #52193B #524C19 #19522F
square
#191F52 #52193B #524C19 #19522F
split-complementary
#191F52 #522F19 #3B5219
monochromatic
#070917 #0B0D23 #191F52 #273181 #3642B0

Accessibility & contrast

On white

15.45
#191F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#191F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F52
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F52#FFFFFF#000000##FFFFFF
##191F521.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #191f52;
/* rgb */ color: rgb(25, 31, 82);
/* oklch */ color: oklch(26.8% 0.092 273.4);
Tailwind
colors: {
  custom: {
    50: '#5d5a83',
    500: '#191f52',
    950: '#000000',
  },
}
SCSS
$custom: #191f52;
$custom-light: #5d5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#191f52",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 233.684,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26814,
    "c": 0.09242,
    "h": 273.4
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#191F52
secondary
#88813E
accent
#CD4BDD
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030A
muted
#79787C

Preview Lab

Preview with #191F52

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

Preview Lab → · Contrast checker → · Palette generator →

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