#193D7B#193D7B

#193D7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.114 H 260.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#193D7B
RGBrgb(25, 61, 123)
HSLhsl(218, 66%, 29%)
HSVhsv(218, 80%, 48%)
CMYKcmyk(79.7%, 50.4%, 0%, 51.8%)
CIE-LABlab(26.66, 11.19, -38.99)
CIE-LCHlch(26.66, 40.56, 286.01°)
OKLaboklab(37.14% -0.0188 -0.112)
OKLCHoklch(37.14% 0.114 260.5)
XYZxyz(5.6435, 4.9736, 19.3976)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193D7B #7B5719
analogous
#196E7B #193D7B #26197B
triadic
#193D7B #7B193D #3D7B19
tetradic
#193D7B #7B196E #7B5719 #197B26
square
#193D7B #7B196E #7B5719 #197B26
split-complementary
#193D7B #7B2619 #6E7B19
monochromatic
#050D19 #0F2448 #193D7B #2356AE #3872D7

Accessibility & contrast

On white

10.53
#193D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#193D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193D7B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193D7B#FFFFFF#000000##FFFFFF
##193D7B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #193d7b;
/* rgb */ color: rgb(25, 61, 123);
/* oklch */ color: oklch(37.1% 0.114 260.5);
Tailwind
colors: {
  custom: {
    50: '#6671a2',
    500: '#193d7b',
    950: '#000000',
  },
}
SCSS
$custom: #193d7b;
$custom-light: #6671a2;
$custom-dark: #000000;
JSON
{
  "hex": "#193d7b",
  "rgb": {
    "r": 25,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 217.959,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37138,
    "c": 0.11358,
    "h": 260.5
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#193D7B
secondary
#AF8740
accent
#AB3FE9
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #193D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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