#191F5F#191F5F

#191F5F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.112 H 272.6°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#191F5F
RGBrgb(25, 31, 95)
HSLhsl(235, 58%, 24%)
HSVhsv(235, 74%, 37%)
CMYKcmyk(73.7%, 67.4%, 0%, 62.7%)
CIE-LABlab(15.55, 21.23, -38.91)
CIE-LCHlch(15.55, 44.32, 298.62°)
OKLaboklab(28.05% 0.0052 -0.1123)
OKLCHoklch(28.05% 0.112 272.6)
XYZxyz(2.9558, 2.0126, 11.0570)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F5F #5F5919
analogous
#19425F #191F5F #36195F
triadic
#191F5F #5F191F #1F5F19
tetradic
#191F5F #5F1942 #5F5919 #195F36
square
#191F5F #5F1942 #5F5919 #195F36
split-complementary
#191F5F #5F3619 #425F19
monochromatic
#060818 #0C0F2F #191F5F #262F8F #323FC0

Accessibility & contrast

On white

14.97
#191F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#191F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F5F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F5F#FFFFFF#000000##FFFFFF
##191F5F1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #191f5f;
/* rgb */ color: rgb(25, 31, 95);
/* oklch */ color: oklch(28.1% 0.112 272.6);
Tailwind
colors: {
  custom: {
    50: '#615a8d',
    500: '#191f5f',
    950: '#000000',
  },
}
SCSS
$custom: #191f5f;
$custom-light: #615a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#191f5f",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 234.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28053,
    "c": 0.11241,
    "h": 272.6
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#191F5F
secondary
#958E3F
accent
#D446E2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #191F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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