#193D8A#193D8A

#193D8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.135 H 262.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#193D8A
RGBrgb(25, 61, 138)
HSLhsl(221, 69%, 32%)
HSVhsv(221, 82%, 54%)
CMYKcmyk(81.9%, 55.8%, 0%, 45.9%)
CIE-LABlab(27.79, 17.35, -46.53)
CIE-LCHlch(27.79, 49.66, 290.45°)
OKLaboklab(38.36% -0.0169 -0.1342)
OKLCHoklch(38.36% 0.135 262.8)
XYZxyz(6.6554, 5.3784, 24.7272)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193D8A #8A6619
analogous
#19768A #193D8A #2E198A
triadic
#193D8A #8A193D #3D8A19
tetradic
#193D8A #8A1976 #8A6619 #198A2E
square
#193D8A #8A1976 #8A6619 #198A2E
split-complementary
#193D8A #8A2E19 #768A19
monochromatic
#060F22 #102656 #193D8A #2254BE #4172DD

Accessibility & contrast

On white

10.12
#193D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#193D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193D8A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193D8A#FFFFFF#000000##FFFFFF
##193D8A1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #193d8a;
/* rgb */ color: rgb(25, 61, 138);
/* oklch */ color: oklch(38.4% 0.135 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a71ad',
    500: '#193d8a',
    950: '#000000',
  },
}
SCSS
$custom: #193d8a;
$custom-light: #6a71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#193d8a",
  "rgb": {
    "r": 25,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 220.885,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.13527,
    "h": 262.8
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#193D8A
secondary
#BD9642
accent
#B43CEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #193D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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