#191F7B#191F7B

#191F7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.152 H 270.8°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#191F7B
RGBrgb(25, 31, 123)
HSLhsl(236, 66%, 29%)
HSVhsv(236, 80%, 48%)
CMYKcmyk(79.7%, 74.8%, 0%, 51.8%)
CIE-LABlab(18.44, 31.98, -52.40)
CIE-LCHlch(18.44, 61.39, 301.39°)
OKLaboklab(31.02% 0.0021 -0.1517)
OKLCHoklch(31.02% 0.152 270.8)
XYZxyz(4.4648, 2.6162, 19.0047)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F7B #7B7519
analogous
#19507B #191F7B #44197B
triadic
#191F7B #7B191F #1F7B19
tetradic
#191F7B #7B1950 #7B7519 #197B44
square
#191F7B #7B1950 #7B7519 #197B44
split-complementary
#191F7B #7B4419 #507B19
monochromatic
#050619 #0F1248 #191F7B #232CAE #3842D7

Accessibility & contrast

On white

13.78
#191F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#191F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F7B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F7B#FFFFFF#000000##FFFFFF
##191F7B1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #191f7b;
/* rgb */ color: rgb(25, 31, 123);
/* oklch */ color: oklch(31.0% 0.152 270.8);
Tailwind
colors: {
  custom: {
    50: '#685ba2',
    500: '#191f7b',
    950: '#000000',
  },
}
SCSS
$custom: #191f7b;
$custom-light: #685ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#191f7b",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 236.327,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31018,
    "c": 0.15172,
    "h": 270.8
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#191F7B
secondary
#AFA940
accent
#DF3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #191F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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