#191F81#191F81

#191F81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.160 H 270.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#191F81
RGBrgb(25, 31, 129)
HSLhsl(237, 68%, 30%)
HSVhsv(237, 81%, 51%)
CMYKcmyk(80.6%, 76%, 0%, 49.4%)
CIE-LABlab(19.10, 34.17, -55.11)
CIE-LCHlch(19.10, 64.85, 301.80°)
OKLaboklab(31.69% 0.0012 -0.1596)
OKLCHoklch(31.69% 0.16 270.4)
XYZxyz(4.8520, 2.7711, 21.0438)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F81 #817B19
analogous
#195381 #191F81 #471981
triadic
#191F81 #81191F #1F8119
tetradic
#191F81 #811953 #817B19 #198147
square
#191F81 #811953 #817B19 #198147
split-complementary
#191F81 #814719 #538119
monochromatic
#05061A #0F134E #191F81 #232BB4 #3B44D9

Accessibility & contrast

On white

13.51
#191F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#191F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F81
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F81#FFFFFF#000000##FFFFFF
##191F811.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #191f81;
/* rgb */ color: rgb(25, 31, 129);
/* oklch */ color: oklch(31.7% 0.160 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a5ca7',
    500: '#191f81',
    950: '#000000',
  },
}
SCSS
$custom: #191f81;
$custom-light: #6a5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#191f81",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 236.538,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31692,
    "c": 0.15961,
    "h": 270.4
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#191F81
secondary
#B5AE41
accent
#E03DEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #191F81

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

Preview Lab → · Contrast checker → · Palette generator →

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