#192371#192371

#192371 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.133 H 270.4°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#192371
RGBrgb(25, 35, 113)
HSLhsl(233, 64%, 27%)
HSVhsv(233, 78%, 44%)
CMYKcmyk(77.9%, 69%, 0%, 55.7%)
CIE-LABlab(18.37, 25.51, -46.09)
CIE-LCHlch(18.37, 52.68, 298.97°)
OKLaboklab(30.65% 0.001 -0.1333)
OKLCHoklch(30.65% 0.133 270.4)
XYZxyz(3.9816, 2.6006, 15.9117)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192371 #716719
analogous
#194F71 #192371 #3B1971
triadic
#192371 #711923 #237119
tetradic
#192371 #71194F #716719 #19713B
square
#192371 #71194F #716719 #19713B
split-complementary
#192371 #713B19 #4F7119
monochromatic
#060819 #0E133F #192371 #2433A3 #3345D2

Accessibility & contrast

On white

13.81
#192371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#192371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192371
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192371#FFFFFF#000000##FFFFFF
##1923711.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #192371;
/* rgb */ color: rgb(25, 35, 113);
/* oklch */ color: oklch(30.7% 0.133 270.4);
Tailwind
colors: {
  custom: {
    50: '#655e9b',
    500: '#192371',
    950: '#000000',
  },
}
SCSS
$custom: #192371;
$custom-light: #655e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#192371",
  "rgb": {
    "r": 25,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 233.182,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30652,
    "c": 0.1333,
    "h": 270.4
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#192371
secondary
#A69B40
accent
#D441E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #192371

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

Preview Lab → · Contrast checker → · Palette generator →

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