#191F7F#191F7F

#191F7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.157 H 270.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#191F7F
RGBrgb(25, 31, 127)
HSLhsl(236, 67%, 30%)
HSVhsv(236, 80%, 50%)
CMYKcmyk(80.3%, 75.6%, 0%, 50.2%)
CIE-LABlab(18.88, 33.45, -54.21)
CIE-LCHlch(18.88, 63.70, 301.67°)
OKLaboklab(31.47% 0.0015 -0.157)
OKLCHoklch(31.47% 0.157 270.5)
XYZxyz(4.7204, 2.7184, 20.3505)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F7F #7F7919
analogous
#19527F #191F7F #46197F
triadic
#191F7F #7F191F #1F7F19
tetradic
#191F7F #7F1952 #7F7919 #197F46
square
#191F7F #7F1952 #7F7919 #197F46
split-complementary
#191F7F #7F4619 #527F19
monochromatic
#05061A #0F134C #191F7F #232BB2 #3A43D8

Accessibility & contrast

On white

13.60
#191F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#191F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F7F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F7F#FFFFFF#000000##FFFFFF
##191F7F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #191f7f;
/* rgb */ color: rgb(25, 31, 127);
/* oklch */ color: oklch(31.5% 0.157 270.5);
Tailwind
colors: {
  custom: {
    50: '#695ba5',
    500: '#191f7f',
    950: '#000000',
  },
}
SCSS
$custom: #191f7f;
$custom-light: #695ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#191f7f",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 236.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31466,
    "c": 0.15701,
    "h": 270.5
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#191F7F
secondary
#B3AC41
accent
#E03EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #191F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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