#193178#193178

#193178 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.125 H 265.8°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#193178
RGBrgb(25, 49, 120)
HSLhsl(225, 66%, 28%)
HSVhsv(225, 79%, 47%)
CMYKcmyk(79.2%, 59.2%, 0%, 52.9%)
CIE-LABlab(22.86, 18.45, -43.24)
CIE-LCHlch(22.86, 47.02, 293.11°)
OKLaboklab(34.18% -0.0092 -0.1248)
OKLCHoklch(34.18% 0.125 265.8)
XYZxyz(4.8882, 3.7588, 18.2336)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193178 #786019
analogous
#196078 #193178 #301978
triadic
#193178 #781931 #317819
tetradic
#193178 #781960 #786019 #197830
square
#193178 #781960 #786019 #197830
split-complementary
#193178 #783019 #607819
monochromatic
#050A19 #0E1C45 #193178 #2446AB #365ED5

Accessibility & contrast

On white

11.99
#193178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#193178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193178
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193178#FFFFFF#000000##FFFFFF
##1931781.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #193178;
/* rgb */ color: rgb(25, 49, 120);
/* oklch */ color: oklch(34.2% 0.125 265.8);
Tailwind
colors: {
  custom: {
    50: '#6668a0',
    500: '#193178',
    950: '#000000',
  },
}
SCSS
$custom: #193178;
$custom-light: #6668a0;
$custom-dark: #000000;
JSON
{
  "hex": "#193178",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 224.842,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34178,
    "c": 0.12512,
    "h": 265.8
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#193178
secondary
#AD9140
accent
#BE3FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #193178

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

Preview Lab → · Contrast checker → · Palette generator →

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