#193F7D#193F7D

#193F7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.114 H 259.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#193F7D
RGBrgb(25, 63, 125)
HSLhsl(217, 67%, 29%)
HSVhsv(217, 80%, 49%)
CMYKcmyk(80%, 49.6%, 0%, 51%)
CIE-LABlab(27.41, 10.61, -39.03)
CIE-LCHlch(27.41, 40.45, 285.21°)
OKLaboklab(37.76% -0.0202 -0.1121)
OKLCHoklch(37.76% 0.114 259.8)
XYZxyz(5.8787, 5.2417, 20.1000)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193F7D #7D5719
analogous
#19717D #193F7D #25197D
triadic
#193F7D #7D193F #3F7D19
tetradic
#193F7D #7D1971 #7D5719 #197D25
square
#193F7D #7D1971 #7D5719 #197D25
split-complementary
#193F7D #7D2519 #717D19
monochromatic
#050D1A #0F254A #193F7D #2359B0 #3975D7

Accessibility & contrast

On white

10.25
#193F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#193F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193F7D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193F7D#FFFFFF#000000##FFFFFF
##193F7D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C467F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #193f7d;
/* rgb */ color: rgb(25, 63, 125);
/* oklch */ color: oklch(37.8% 0.114 259.8);
Tailwind
colors: {
  custom: {
    50: '#6673a3',
    500: '#193f7d',
    950: '#000000',
  },
}
SCSS
$custom: #193f7d;
$custom-light: #6673a3;
$custom-dark: #000000;
JSON
{
  "hex": "#193f7d",
  "rgb": {
    "r": 25,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 217.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37762,
    "c": 0.11391,
    "h": 259.8
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#193F7D
secondary
#B18640
accent
#A83EEA
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #193F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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