#193F8D#193F8D

#193F8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.137 H 262.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#193F8D
RGBrgb(25, 63, 141)
HSLhsl(220, 70%, 33%)
HSVhsv(220, 82%, 55%)
CMYKcmyk(82.3%, 55.3%, 0%, 44.7%)
CIE-LABlab(28.60, 17.18, -47.06)
CIE-LCHlch(28.60, 50.10, 290.06°)
OKLaboklab(39.05% -0.018 -0.1357)
OKLCHoklch(39.05% 0.137 262.4)
XYZxyz(6.9844, 5.6839, 25.9231)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193F8D #8D6719
analogous
#19798D #193F8D #2D198D
triadic
#193F8D #8D193F #3F8D19
tetradic
#193F8D #8D1979 #8D6719 #198D2D
square
#193F8D #8D1979 #8D6719 #198D2D
split-complementary
#193F8D #8D2D19 #798D19
monochromatic
#071125 #102859 #193F8D #2256C1 #4376DE

Accessibility & contrast

On white

9.83
#193F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#193F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193F8D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193F8D#FFFFFF#000000##FFFFFF
##193F8D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #193f8d;
/* rgb */ color: rgb(25, 63, 141);
/* oklch */ color: oklch(39.0% 0.137 262.4);
Tailwind
colors: {
  custom: {
    50: '#6a73af',
    500: '#193f8d',
    950: '#000000',
  },
}
SCSS
$custom: #193f8d;
$custom-light: #6a73af;
$custom-dark: #000000;
JSON
{
  "hex": "#193f8d",
  "rgb": {
    "r": 25,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 220.345,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.13693,
    "h": 262.4
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#193F8D
secondary
#BF9643
accent
#B33BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #193F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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