#192178#192178

#192178 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.145 H 270.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#192178
RGBrgb(25, 33, 120)
HSLhsl(235, 66%, 28%)
HSVhsv(235, 79%, 47%)
CMYKcmyk(79.2%, 72.5%, 0%, 52.9%)
CIE-LABlab(18.58, 29.56, -50.24)
CIE-LCHlch(18.58, 58.29, 300.47°)
OKLaboklab(31.03% 0.0015 -0.1454)
OKLCHoklch(31.03% 0.145 270.6)
XYZxyz(4.3338, 2.6500, 18.0488)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192178 #787019
analogous
#195078 #192178 #401978
triadic
#192178 #781921 #217819
tetradic
#192178 #781950 #787019 #197840
square
#192178 #781950 #787019 #197840
split-complementary
#192178 #784019 #507819
monochromatic
#050719 #0E1345 #192178 #242FAB #3644D5

Accessibility & contrast

On white

13.73
#192178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#192178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192178
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192178#FFFFFF#000000##FFFFFF
##1921781.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #192178;
/* rgb */ color: rgb(25, 33, 120);
/* oklch */ color: oklch(31.0% 0.145 270.6);
Tailwind
colors: {
  custom: {
    50: '#675ca0',
    500: '#192178',
    950: '#000000',
  },
}
SCSS
$custom: #192178;
$custom-light: #675ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#192178",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 234.947,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31027,
    "c": 0.14543,
    "h": 270.6
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#192178
secondary
#ADA440
accent
#DA3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #192178

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

Preview Lab → · Contrast checker → · Palette generator →

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