#193E7F#193E7F

#193E7F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.118 H 260.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#193E7F
RGBrgb(25, 62, 127)
HSLhsl(218, 67%, 30%)
HSVhsv(218, 80%, 50%)
CMYKcmyk(80.3%, 51.2%, 0%, 50.2%)
CIE-LABlab(27.25, 12.14, -40.54)
CIE-LCHlch(27.25, 42.32, 286.66°)
OKLaboklab(37.68% -0.019 -0.1166)
OKLCHoklch(37.68% 0.118 260.7)
XYZxyz(5.9529, 5.1835, 20.7613)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193E7F #7F5A19
analogous
#19717F #193E7F #27197F
triadic
#193E7F #7F193E #3E7F19
tetradic
#193E7F #7F1971 #7F5A19 #197F27
square
#193E7F #7F1971 #7F5A19 #197F27
split-complementary
#193E7F #7F2719 #717F19
monochromatic
#050C1A #0F254C #193E7F #2357B2 #3A74D8

Accessibility & contrast

On white

10.31
#193E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#193E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193E7F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193E7F#FFFFFF#000000##FFFFFF
##193E7F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174581
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #193e7f;
/* rgb */ color: rgb(25, 62, 127);
/* oklch */ color: oklch(37.7% 0.118 260.7);
Tailwind
colors: {
  custom: {
    50: '#6772a5',
    500: '#193e7f',
    950: '#000000',
  },
}
SCSS
$custom: #193e7f;
$custom-light: #6772a5;
$custom-dark: #000000;
JSON
{
  "hex": "#193e7f",
  "rgb": {
    "r": 25,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 218.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37684,
    "c": 0.11813,
    "h": 260.7
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#193E7F
secondary
#B38A41
accent
#AC3EEA
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #193E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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