#191F7C#191F7C

#191F7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.153 H 270.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#191F7C
RGBrgb(25, 31, 124)
HSLhsl(236, 66%, 29%)
HSVhsv(236, 80%, 49%)
CMYKcmyk(79.8%, 75%, 0%, 51.4%)
CIE-LABlab(18.55, 32.35, -52.85)
CIE-LCHlch(18.55, 61.97, 301.47°)
OKLaboklab(31.13% 0.0019 -0.153)
OKLCHoklch(31.13% 0.153 270.7)
XYZxyz(4.5277, 2.6414, 19.3361)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F7C #7C7619
analogous
#19517C #191F7C #45197C
triadic
#191F7C #7C191F #1F7C19
tetradic
#191F7C #7C1951 #7C7619 #197C45
square
#191F7C #7C1951 #7C7619 #197C45
split-complementary
#191F7C #7C4519 #517C19
monochromatic
#050619 #0F1249 #191F7C #232CAF #3842D7

Accessibility & contrast

On white

13.74
#191F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#191F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F7C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F7C#FFFFFF#000000##FFFFFF
##191F7C1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #191f7c;
/* rgb */ color: rgb(25, 31, 124);
/* oklch */ color: oklch(31.1% 0.153 270.7);
Tailwind
colors: {
  custom: {
    50: '#695ba3',
    500: '#191f7c',
    950: '#000000',
  },
}
SCSS
$custom: #191f7c;
$custom-light: #695ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#191f7c",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 236.364,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31129,
    "c": 0.15305,
    "h": 270.7
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#191F7C
secondary
#B0AA40
accent
#DF3EE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #191F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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