#192387#192387

#192387 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.163 H 269.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#192387
RGBrgb(25, 35, 135)
HSLhsl(235, 69%, 31%)
HSVhsv(235, 81%, 53%)
CMYKcmyk(81.5%, 74.1%, 0%, 47.1%)
CIE-LABlab(20.66, 33.87, -56.32)
CIE-LCHlch(20.66, 65.72, 301.02°)
OKLaboklab(33.01% -0.0014 -0.1631)
OKLCHoklch(33.01% 0.163 269.5)
XYZxyz(5.3736, 3.1574, 23.2432)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192387 #877D19
analogous
#195A87 #192387 #461987
triadic
#192387 #871923 #238719
tetradic
#192387 #87195A #877D19 #198746
square
#192387 #87195A #877D19 #198746
split-complementary
#192387 #874619 #5A8719
monochromatic
#060820 #0F1653 #192387 #2330BB #3F4DDB

Accessibility & contrast

On white

12.87
#192387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#192387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192387
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192387#FFFFFF#000000##FFFFFF
##1923871.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #192387;
/* rgb */ color: rgb(25, 35, 135);
/* oklch */ color: oklch(33.0% 0.163 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b5eab',
    500: '#192387',
    950: '#000000',
  },
}
SCSS
$custom: #192387;
$custom-light: #6b5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#192387",
  "rgb": {
    "r": 25,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 234.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33006,
    "c": 0.16314,
    "h": 269.5
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#192387
secondary
#BAAF41
accent
#DC3CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #192387

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

Preview Lab → · Contrast checker → · Palette generator →

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