#192887#192887

#192887 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.158 H 268.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#192887
RGBrgb(25, 40, 135)
HSLhsl(232, 69%, 31%)
HSVhsv(232, 81%, 53%)
CMYKcmyk(81.5%, 70.4%, 0%, 47.1%)
CIE-LABlab(21.85, 30.63, -54.37)
CIE-LCHlch(21.85, 62.40, 299.40°)
OKLaboklab(33.86% -0.0038 -0.1575)
OKLCHoklch(33.86% 0.158 268.6)
XYZxyz(5.5314, 3.4729, 23.2958)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192887 #877819
analogous
#195F87 #192887 #411987
triadic
#192887 #871928 #288719
tetradic
#192887 #87195F #877819 #198741
square
#192887 #87195F #877819 #198741
split-complementary
#192887 #874119 #5F8719
monochromatic
#060920 #0F1953 #192887 #2337BB #3F54DB

Accessibility & contrast

On white

12.39
#192887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #192887
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192887#FFFFFF#000000##FFFFFF
##1928871.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #192887;
/* rgb */ color: rgb(25, 40, 135);
/* oklch */ color: oklch(33.9% 0.158 268.6);
Tailwind
colors: {
  custom: {
    50: '#6b62ab',
    500: '#192887',
    950: '#000000',
  },
}
SCSS
$custom: #192887;
$custom-light: #6b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#192887",
  "rgb": {
    "r": 25,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 231.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33859,
    "c": 0.1575,
    "h": 268.6
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#192887
secondary
#BAAA41
accent
#D43CEC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #192887

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

Preview Lab → · Contrast checker → · Palette generator →

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