#193F9E#193F9E

#193F9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.161 H 264.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#193F9E
RGBrgb(25, 63, 158)
HSLhsl(223, 73%, 36%)
HSVhsv(223, 84%, 62%)
CMYKcmyk(84.2%, 60.1%, 0%, 38%)
CIE-LABlab(29.98, 24.05, -55.20)
CIE-LCHlch(29.98, 60.21, 293.54°)
OKLaboklab(40.52% -0.0169 -0.1596)
OKLCHoklch(40.52% 0.161 264)
XYZxyz(8.3478, 6.2293, 33.1035)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193F9E #9E7819
analogous
#19819E #193F9E #35199E
triadic
#193F9E #9E193F #3F9E19
tetradic
#193F9E #9E1981 #9E7819 #199E35
square
#193F9E #9E1981 #9E7819 #199E35
split-complementary
#193F9E #9E3519 #819E19
monochromatic
#081534 #112A69 #193F9E #2154D3 #4E79E3

Accessibility & contrast

On white

9.35
#193F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#193F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193F9E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193F9E#FFFFFF#000000##FFFFFF
##193F9E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #193f9e;
/* rgb */ color: rgb(25, 63, 158);
/* oklch */ color: oklch(40.5% 0.161 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f73bb',
    500: '#193f9e',
    950: '#000000',
  },
}
SCSS
$custom: #193f9e;
$custom-light: #6f73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#193f9e",
  "rgb": {
    "r": 25,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 222.857,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40522,
    "c": 0.16054,
    "h": 264
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#193F9E
secondary
#C5A34E
accent
#BB38EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #193F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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