#192987#192987

#192987 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.156 H 268.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#192987
RGBrgb(25, 41, 135)
HSLhsl(231, 69%, 31%)
HSVhsv(231, 81%, 53%)
CMYKcmyk(81.5%, 69.6%, 0%, 47.1%)
CIE-LABlab(22.09, 29.97, -53.96)
CIE-LCHlch(22.09, 61.72, 299.04°)
OKLaboklab(34.04% -0.0043 -0.1563)
OKLCHoklch(34.04% 0.156 268.4)
XYZxyz(5.5655, 3.5412, 23.3072)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192987 #877719
analogous
#196087 #192987 #401987
triadic
#192987 #871929 #298719
tetradic
#192987 #871960 #877719 #198740
square
#192987 #871960 #877719 #198740
split-complementary
#192987 #874019 #608719
monochromatic
#060A20 #0F1953 #192987 #2339BB #3F56DB

Accessibility & contrast

On white

12.29
#192987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#192987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192987
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192987#FFFFFF#000000##FFFFFF
##1929871.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #192987;
/* rgb */ color: rgb(25, 41, 135);
/* oklch */ color: oklch(34.0% 0.156 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b63ab',
    500: '#192987',
    950: '#000000',
  },
}
SCSS
$custom: #192987;
$custom-light: #6b63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#192987",
  "rgb": {
    "r": 25,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 231.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34038,
    "c": 0.15633,
    "h": 268.4
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#192987
secondary
#BAA941
accent
#D23CEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #192987

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

Preview Lab → · Contrast checker → · Palette generator →

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