#191F7E#191F7E

#191F7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.156 H 270.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#191F7E
RGBrgb(25, 31, 126)
HSLhsl(236, 67%, 30%)
HSVhsv(236, 80%, 49%)
CMYKcmyk(80.2%, 75.4%, 0%, 50.6%)
CIE-LABlab(18.77, 33.08, -53.76)
CIE-LCHlch(18.77, 63.12, 301.60°)
OKLaboklab(31.35% 0.0016 -0.1557)
OKLCHoklch(31.35% 0.156 270.6)
XYZxyz(4.6555, 2.6925, 20.0090)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F7E #7E7819
analogous
#19517E #191F7E #46197E
triadic
#191F7E #7E191F #1F7E19
tetradic
#191F7E #7E1951 #7E7819 #197E46
square
#191F7E #7E1951 #7E7819 #197E46
split-complementary
#191F7E #7E4619 #517E19
monochromatic
#05061A #0F124B #191F7E #232CB1 #3A43D8

Accessibility & contrast

On white

13.65
#191F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #191F7E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F7E#FFFFFF#000000##FFFFFF
##191F7E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #191f7e;
/* rgb */ color: rgb(25, 31, 126);
/* oklch */ color: oklch(31.4% 0.156 270.6);
Tailwind
colors: {
  custom: {
    50: '#695ba4',
    500: '#191f7e',
    950: '#000000',
  },
}
SCSS
$custom: #191f7e;
$custom-light: #695ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#191f7e",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 236.436,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31354,
    "c": 0.15569,
    "h": 270.6
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #191F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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