#193371#193371

#193371 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.112 H 264.2°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#193371
RGBrgb(25, 51, 113)
HSLhsl(222, 64%, 27%)
HSVhsv(222, 78%, 44%)
CMYKcmyk(77.9%, 54.9%, 0%, 55.7%)
CIE-LABlab(22.88, 14.14, -38.73)
CIE-LCHlch(22.88, 41.23, 290.06°)
OKLaboklab(34.02% -0.0114 -0.1115)
OKLCHoklch(34.02% 0.112 264.2)
XYZxyz(4.5643, 3.7661, 16.1060)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193371 #715719
analogous
#195F71 #193371 #2B1971
triadic
#193371 #711933 #337119
tetradic
#193371 #71195F #715719 #19712B
square
#193371 #71195F #715719 #19712B
split-complementary
#193371 #712B19 #5F7119
monochromatic
#060B19 #0E1C3F #193371 #244AA3 #3362D2

Accessibility & contrast

On white

11.98
#193371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #193371
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193371#FFFFFF#000000##FFFFFF
##1933711.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #193371;
/* rgb */ color: rgb(25, 51, 113);
/* oklch */ color: oklch(34.0% 0.112 264.2);
Tailwind
colors: {
  custom: {
    50: '#646a9a',
    500: '#193371',
    950: '#000000',
  },
}
SCSS
$custom: #193371;
$custom-light: #646a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#193371",
  "rgb": {
    "r": 25,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 222.273,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.11206,
    "h": 264.2
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#193371
secondary
#A68840
accent
#B641E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #193371

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

Preview Lab → · Contrast checker → · Palette generator →

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