#192171#192171

#192171 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.136 H 270.9°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#192171
RGBrgb(25, 33, 113)
HSLhsl(235, 64%, 27%)
HSVhsv(235, 78%, 44%)
CMYKcmyk(77.9%, 70.8%, 0%, 55.7%)
CIE-LABlab(17.86, 26.88, -46.93)
CIE-LCHlch(17.86, 54.09, 299.81°)
OKLaboklab(30.28% 0.0023 -0.1358)
OKLCHoklch(30.28% 0.136 270.9)
XYZxyz(3.9244, 2.4862, 15.8926)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192171 #716919
analogous
#194D71 #192171 #3D1971
triadic
#192171 #711921 #217119
tetradic
#192171 #71194D #716919 #19713D
square
#192171 #71194D #716919 #19713D
split-complementary
#192171 #713D19 #4D7119
monochromatic
#060719 #0E123F #192171 #2430A3 #3341D2

Accessibility & contrast

On white

14.02
#192171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#192171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192171
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192171#FFFFFF#000000##FFFFFF
##1921711.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #192171;
/* rgb */ color: rgb(25, 33, 113);
/* oklch */ color: oklch(30.3% 0.136 270.9);
Tailwind
colors: {
  custom: {
    50: '#655c9b',
    500: '#192171',
    950: '#000000',
  },
}
SCSS
$custom: #192171;
$custom-light: #655c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#192171",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 234.545,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3028,
    "c": 0.13579,
    "h": 270.9
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#192171
secondary
#A69D40
accent
#D841E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #192171

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

Preview Lab → · Contrast checker → · Palette generator →

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