#191F57#191F57

#191F57 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.100 H 273.1°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#191F57
RGBrgb(25, 31, 87)
HSLhsl(234, 55%, 22%)
HSVhsv(234, 71%, 34%)
CMYKcmyk(71.3%, 64.4%, 0%, 65.9%)
CIE-LABlab(14.81, 18.04, -34.76)
CIE-LCHlch(14.81, 39.16, 297.43°)
OKLaboklab(27.28% 0.0055 -0.1001)
OKLCHoklch(27.28% 0.1 273.1)
XYZxyz(2.6106, 1.8745, 9.2392)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F57 #575119
analogous
#193E57 #191F57 #321957
triadic
#191F57 #57191F #1F5719
tetradic
#191F57 #57193E #575119 #195732
square
#191F57 #57193E #575119 #195732
split-complementary
#191F57 #573219 #3E5719
monochromatic
#070818 #0B0E27 #191F57 #273087 #3441B6

Accessibility & contrast

On white

15.27
#191F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#191F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F57
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F57#FFFFFF#000000##FFFFFF
##191F571.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #191f57;
/* rgb */ color: rgb(25, 31, 87);
/* oklch */ color: oklch(27.3% 0.100 273.1);
Tailwind
colors: {
  custom: {
    50: '#5f5a87',
    500: '#191f57',
    950: '#000000',
  },
}
SCSS
$custom: #191f57;
$custom-light: #5f5a87;
$custom-dark: #000000;
JSON
{
  "hex": "#191f57",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 234.194,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27278,
    "c": 0.10026,
    "h": 273.1
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#191F57
secondary
#8D863E
accent
#D049DF
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #191F57

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

Preview Lab → · Contrast checker → · Palette generator →

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