#191957#191957

#191957 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.109 H 275.8°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#191957
RGBrgb(25, 25, 87)
HSLhsl(240, 55%, 22%)
HSVhsv(240, 71%, 34%)
CMYKcmyk(71.3%, 71.3%, 0%, 65.9%)
CIE-LABlab(13.17, 22.34, -37.45)
CIE-LCHlch(13.17, 43.61, 300.82°)
OKLaboklab(26.07% 0.011 -0.108)
OKLCHoklch(26.07% 0.109 275.8)
XYZxyz(2.4683, 1.5898, 9.1918)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191957 #575719
analogous
#193857 #191957 #381957
triadic
#191957 #571919 #195719
tetradic
#191957 #571938 #575719 #195738
square
#191957 #571938 #575719 #195738
split-complementary
#191957 #573819 #385719
monochromatic
#070718 #0B0B27 #191957 #272787 #3434B6

Accessibility & contrast

On white

15.93
#191957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#191957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191957
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191957#FFFFFF#000000##FFFFFF
##1919571.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#001F56
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #191957;
/* rgb */ color: rgb(25, 25, 87);
/* oklch */ color: oklch(26.1% 0.109 275.8);
Tailwind
colors: {
  custom: {
    50: '#5f5687',
    500: '#191957',
    950: '#000000',
  },
}
SCSS
$custom: #191957;
$custom-light: #5f5687;
$custom-dark: #000000;
JSON
{
  "hex": "#191957",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 240,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26069,
    "c": 0.1086,
    "h": 275.8
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#191957
secondary
#8D8D3E
accent
#DF49DF
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #191957

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

Preview Lab → · Contrast checker → · Palette generator →

#191957 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva