#193771#193771

#193771 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.107 H 261.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#193771
RGBrgb(25, 55, 113)
HSLhsl(220, 64%, 27%)
HSVhsv(220, 78%, 44%)
CMYKcmyk(77.9%, 51.3%, 0%, 55.7%)
CIE-LABlab(24.10, 11.29, -36.77)
CIE-LCHlch(24.10, 38.46, 287.07°)
OKLaboklab(34.95% -0.015 -0.1056)
OKLCHoklch(34.95% 0.107 261.9)
XYZxyz(4.7467, 4.1308, 16.1667)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193771 #715319
analogous
#196371 #193771 #271971
triadic
#193771 #711937 #377119
tetradic
#193771 #711963 #715319 #197127
square
#193771 #711963 #715319 #197127
split-complementary
#193771 #712719 #637119
monochromatic
#060C19 #0E1F3F #193771 #244FA3 #3369D2

Accessibility & contrast

On white

11.50
#193771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#193771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193771
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193771#FFFFFF#000000##FFFFFF
##1937711.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #193771;
/* rgb */ color: rgb(25, 55, 113);
/* oklch */ color: oklch(34.9% 0.107 261.9);
Tailwind
colors: {
  custom: {
    50: '#636d9a',
    500: '#193771',
    950: '#000000',
  },
}
SCSS
$custom: #193771;
$custom-light: #636d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#193771",
  "rgb": {
    "r": 25,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 219.545,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34946,
    "c": 0.10668,
    "h": 261.9
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#193771
secondary
#A68340
accent
#AE41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #193771

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

Preview Lab → · Contrast checker → · Palette generator →

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