#192787#192787

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

Color values

HEX#192787
RGBrgb(25, 39, 135)
HSLhsl(232, 69%, 31%)
HSVhsv(232, 81%, 53%)
CMYKcmyk(81.5%, 71.1%, 0%, 47.1%)
CIE-LABlab(21.60, 31.29, -54.77)
CIE-LCHlch(21.60, 63.08, 299.74°)
OKLaboklab(33.68% -0.0033 -0.1586)
OKLCHoklch(33.68% 0.159 268.8)
XYZxyz(5.4981, 3.4063, 23.2847)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192787 #877919
analogous
#195E87 #192787 #421987
triadic
#192787 #871927 #278719
tetradic
#192787 #87195E #877919 #198742
square
#192787 #87195E #877919 #198742
split-complementary
#192787 #874219 #5E8719
monochromatic
#060920 #0F1853 #192787 #2336BB #3F53DB

Accessibility & contrast

On white

12.49
#192787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#192787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192787
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192787#FFFFFF#000000##FFFFFF
##1927871.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #192787;
/* rgb */ color: rgb(25, 39, 135);
/* oklch */ color: oklch(33.7% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b61ab',
    500: '#192787',
    950: '#000000',
  },
}
SCSS
$custom: #192787;
$custom-light: #6b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#192787",
  "rgb": {
    "r": 25,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 232.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33683,
    "c": 0.15866,
    "h": 268.8
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#192787
secondary
#BAAB41
accent
#D53CEC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #192787

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

Preview Lab → · Contrast checker → · Palette generator →

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