#193778#193778

#193778 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.117 H 263.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#193778
RGBrgb(25, 55, 120)
HSLhsl(221, 66%, 28%)
HSVhsv(221, 79%, 47%)
CMYKcmyk(79.2%, 54.2%, 0%, 52.9%)
CIE-LABlab(24.62, 14.18, -40.38)
CIE-LCHlch(24.62, 42.80, 289.35°)
OKLaboklab(35.51% -0.014 -0.1162)
OKLCHoklch(35.51% 0.117 263.1)
XYZxyz(5.1560, 4.2945, 18.3228)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193778 #785A19
analogous
#196678 #193778 #2B1978
triadic
#193778 #781937 #377819
tetradic
#193778 #781966 #785A19 #19782B
square
#193778 #781966 #785A19 #19782B
split-complementary
#193778 #782B19 #667819
monochromatic
#050C19 #0E2045 #193778 #244EAB #3668D5

Accessibility & contrast

On white

11.30
#193778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#193778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193778
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193778#FFFFFF#000000##FFFFFF
##1937781.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3F7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #193778;
/* rgb */ color: rgb(25, 55, 120);
/* oklch */ color: oklch(35.5% 0.117 263.1);
Tailwind
colors: {
  custom: {
    50: '#656d9f',
    500: '#193778',
    950: '#000000',
  },
}
SCSS
$custom: #193778;
$custom-light: #656d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#193778",
  "rgb": {
    "r": 25,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 221.053,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.11709,
    "h": 263.1
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#193778
secondary
#AD8A40
accent
#B33FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #193778

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

Preview Lab → · Contrast checker → · Palette generator →

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