#192978#192978

#192978 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.136 H 268.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#192978
RGBrgb(25, 41, 120)
HSLhsl(230, 66%, 28%)
HSVhsv(230, 79%, 47%)
CMYKcmyk(79.2%, 65.8%, 0%, 52.9%)
CIE-LABlab(20.63, 24.11, -46.88)
CIE-LCHlch(20.63, 52.72, 297.21°)
OKLaboklab(32.52% -0.0034 -0.1356)
OKLCHoklch(32.52% 0.136 268.6)
XYZxyz(4.5828, 3.1481, 18.1318)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192978 #786819
analogous
#195878 #192978 #381978
triadic
#192978 #781929 #297819
tetradic
#192978 #781958 #786819 #197838
square
#192978 #781958 #786819 #197838
split-complementary
#192978 #783819 #587819
monochromatic
#050919 #0E1845 #192978 #243AAB #3651D5

Accessibility & contrast

On white

12.89
#192978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #192978
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192978#FFFFFF#000000##FFFFFF
##1929781.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #192978;
/* rgb */ color: rgb(25, 41, 120);
/* oklch */ color: oklch(32.5% 0.136 268.6);
Tailwind
colors: {
  custom: {
    50: '#6662a0',
    500: '#192978',
    950: '#000000',
  },
}
SCSS
$custom: #192978;
$custom-light: #6662a0;
$custom-dark: #000000;
JSON
{
  "hex": "#192978",
  "rgb": {
    "r": 25,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 229.895,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32518,
    "c": 0.13561,
    "h": 268.6
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#192978
secondary
#AD9A40
accent
#CC3FE8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #192978

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

Preview Lab → · Contrast checker → · Palette generator →

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