#192788#192788

#192788 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.160 H 268.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#192788
RGBrgb(25, 39, 136)
HSLhsl(232, 69%, 32%)
HSVhsv(232, 82%, 53%)
CMYKcmyk(81.6%, 71.3%, 0%, 46.7%)
CIE-LABlab(21.71, 31.67, -55.22)
CIE-LCHlch(21.71, 63.66, 299.83°)
OKLaboklab(33.79% -0.0034 -0.16)
OKLCHoklch(33.79% 0.16 268.8)
XYZxyz(5.5688, 3.4346, 23.6572)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192788 #887A19
analogous
#195F88 #192788 #431988
triadic
#192788 #881927 #278819
tetradic
#192788 #88195F #887A19 #198843
square
#192788 #88195F #887A19 #198843
split-complementary
#192788 #884319 #5F8819
monochromatic
#060921 #0F1854 #192788 #2336BC #4053DC

Accessibility & contrast

On white

12.45
#192788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#192788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192788
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192788#FFFFFF#000000##FFFFFF
##1927881.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #192788;
/* rgb */ color: rgb(25, 39, 136);
/* oklch */ color: oklch(33.8% 0.160 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b61ac',
    500: '#192788',
    950: '#000000',
  },
}
SCSS
$custom: #192788;
$custom-light: #6b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#192788",
  "rgb": {
    "r": 25,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 232.432,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.16,
    "h": 268.8
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#192788
secondary
#BBAC41
accent
#D63CEC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #192788

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

Preview Lab → · Contrast checker → · Palette generator →

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