#192878#192878

#192878 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.137 H 268.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#192878
RGBrgb(25, 40, 120)
HSLhsl(231, 66%, 28%)
HSVhsv(231, 79%, 47%)
CMYKcmyk(79.2%, 66.7%, 0%, 52.9%)
CIE-LABlab(20.36, 24.80, -47.32)
CIE-LCHlch(20.36, 53.43, 297.66°)
OKLaboklab(32.32% -0.0027 -0.1369)
OKLCHoklch(32.32% 0.137 268.9)
XYZxyz(4.5487, 3.0798, 18.1204)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192878 #786919
analogous
#195778 #192878 #391978
triadic
#192878 #781928 #287819
tetradic
#192878 #781957 #786919 #197839
square
#192878 #781957 #786919 #197839
split-complementary
#192878 #783919 #577819
monochromatic
#050819 #0E1745 #192878 #2439AB #364FD5

Accessibility & contrast

On white

13.00
#192878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#192878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192878
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192878#FFFFFF#000000##FFFFFF
##1928781.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #192878;
/* rgb */ color: rgb(25, 40, 120);
/* oklch */ color: oklch(32.3% 0.137 268.9);
Tailwind
colors: {
  custom: {
    50: '#6661a0',
    500: '#192878',
    950: '#000000',
  },
}
SCSS
$custom: #192878;
$custom-light: #6661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#192878",
  "rgb": {
    "r": 25,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 230.526,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.13689,
    "h": 268.9
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#192878
secondary
#AD9C40
accent
#CE3FE8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #192878

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

Preview Lab → · Contrast checker → · Palette generator →

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