#191F58#191F58

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

Color values

HEX#191F58
RGBrgb(25, 31, 88)
HSLhsl(234, 56%, 22%)
HSVhsv(234, 72%, 35%)
CMYKcmyk(71.6%, 64.8%, 0%, 65.5%)
CIE-LABlab(14.90, 18.44, -35.28)
CIE-LCHlch(14.90, 39.81, 297.59°)
OKLaboklab(27.37% 0.0055 -0.1017)
OKLCHoklch(27.37% 0.102 273.1)
XYZxyz(2.6518, 1.8910, 9.4559)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F58 #585219
analogous
#193F58 #191F58 #331958
triadic
#191F58 #58191F #1F5819
tetradic
#191F58 #58193F #585219 #195833
square
#191F58 #58193F #585219 #195833
split-complementary
#191F58 #583319 #3F5819
monochromatic
#070818 #0B0E28 #191F58 #273088 #3441B7

Accessibility & contrast

On white

15.24
#191F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #191F58
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F58#FFFFFF#000000##FFFFFF
##191F581.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #191f58;
/* rgb */ color: rgb(25, 31, 88);
/* oklch */ color: oklch(27.4% 0.102 273.1);
Tailwind
colors: {
  custom: {
    50: '#5f5a88',
    500: '#191f58',
    950: '#000000',
  },
}
SCSS
$custom: #191f58;
$custom-light: #5f5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#191f58",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 234.286,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27372,
    "c": 0.10181,
    "h": 273.1
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#191F58
secondary
#8E873E
accent
#D149DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #191F58

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

Preview Lab → · Contrast checker → · Palette generator →

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