#193D98#193D98

#193D98 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.155 H 264.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#193D98
RGBrgb(25, 61, 152)
HSLhsl(223, 72%, 35%)
HSVhsv(223, 84%, 60%)
CMYKcmyk(83.6%, 59.9%, 0%, 40.4%)
CIE-LABlab(28.93, 23.02, -53.27)
CIE-LCHlch(28.93, 58.03, 293.37°)
OKLaboklab(39.57% -0.0159 -0.154)
OKLCHoklch(39.57% 0.155 264.1)
XYZxyz(7.7351, 5.8102, 30.4135)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193D98 #987419
analogous
#197D98 #193D98 #351998
triadic
#193D98 #98193D #3D9819
tetradic
#193D98 #98197D #987419 #199835
square
#193D98 #98197D #987419 #199835
split-complementary
#193D98 #983519 #7D9819
monochromatic
#08132F #102863 #193D98 #2252CD #4A75E1

Accessibility & contrast

On white

9.71
#193D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#193D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193D98
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193D98#FFFFFF#000000##FFFFFF
##193D981.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #193d98;
/* rgb */ color: rgb(25, 61, 152);
/* oklch */ color: oklch(39.6% 0.155 264.1);
Tailwind
colors: {
  custom: {
    50: '#6d72b7',
    500: '#193d98',
    950: '#000000',
  },
}
SCSS
$custom: #193d98;
$custom-light: #6d72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#193d98",
  "rgb": {
    "r": 25,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 222.992,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.15485,
    "h": 264.1
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#193D98
secondary
#C3A14A
accent
#BB39EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #193D98

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

Preview Lab → · Contrast checker → · Palette generator →

#193D98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva