#191872#191872

#191872 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.147 H 272.7°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#191872
RGBrgb(25, 24, 114)
HSLhsl(241, 65%, 27%)
HSVhsv(241, 79%, 45%)
CMYKcmyk(78.1%, 78.9%, 0%, 55.3%)
CIE-LABlab(15.87, 33.04, -50.85)
CIE-LCHlch(15.87, 60.64, 303.02°)
OKLaboklab(28.89% 0.007 -0.1471)
OKLCHoklch(28.89% 0.147 272.7)
XYZxyz(3.7638, 2.0745, 16.1184)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191872 #717218
analogous
#184472 #191872 #461872
triadic
#191872 #721918 #187219
tetradic
#191872 #721844 #717218 #187246
square
#191872 #721844 #717218 #187246
split-complementary
#191872 #724618 #447218
monochromatic
#060519 #0E0D3F #191872 #2423A5 #3331D4

Accessibility & contrast

On white

14.84
#191872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#191872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191872
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191872#FFFFFF#000000##FFFFFF
##1918721.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #191872;
/* rgb */ color: rgb(25, 24, 114);
/* oklch */ color: oklch(28.9% 0.147 272.7);
Tailwind
colors: {
  custom: {
    50: '#67569c',
    500: '#191872',
    950: '#000000',
  },
}
SCSS
$custom: #191872;
$custom-light: #67569c;
$custom-dark: #000000;
JSON
{
  "hex": "#191872",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 240.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28891,
    "c": 0.14732,
    "h": 272.7
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#191872
secondary
#A6A73E
accent
#E840E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #191872

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

Preview Lab → · Contrast checker → · Palette generator →

#191872 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva