#193796#193796

#193796 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.160 H 265.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#193796
RGBrgb(25, 55, 150)
HSLhsl(226, 71%, 34%)
HSVhsv(226, 83%, 59%)
CMYKcmyk(83.3%, 63.3%, 0%, 41.2%)
CIE-LABlab(27.13, 26.34, -54.99)
CIE-LCHlch(27.13, 60.97, 295.59°)
OKLaboklab(38.18% -0.0124 -0.1592)
OKLCHoklch(38.18% 0.16 265.5)
XYZxyz(7.2702, 5.1402, 29.4572)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193796 #967819
analogous
#197696 #193796 #3A1996
triadic
#193796 #961937 #379619
tetradic
#193796 #961976 #967819 #19963A
square
#193796 #961976 #967819 #19963A
split-complementary
#193796 #963A19 #769619
monochromatic
#08112D #102462 #193796 #224ACA #496DE1

Accessibility & contrast

On white

10.35
#193796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#193796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193796
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193796#FFFFFF#000000##FFFFFF
##1937961.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #193796;
/* rgb */ color: rgb(25, 55, 150);
/* oklch */ color: oklch(38.2% 0.160 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d6db6',
    500: '#193796',
    950: '#000000',
  },
}
SCSS
$custom: #193796;
$custom-light: #6d6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#193796",
  "rgb": {
    "r": 25,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 225.6,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.15963,
    "h": 265.5
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#193796
secondary
#C2A549
accent
#C33AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #193796

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

Preview Lab → · Contrast checker → · Palette generator →

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