#193F7C#193F7C

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

Color values

HEX#193F7C
RGBrgb(25, 63, 124)
HSLhsl(217, 66%, 29%)
HSVhsv(217, 80%, 49%)
CMYKcmyk(79.8%, 49.2%, 0%, 51.4%)
CIE-LABlab(27.34, 10.20, -38.51)
CIE-LCHlch(27.34, 39.84, 284.83°)
OKLaboklab(37.69% -0.0203 -0.1106)
OKLCHoklch(37.69% 0.112 259.6)
XYZxyz(5.8152, 5.2163, 19.7652)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193F7C #7C5619
analogous
#19717C #193F7C #25197C
triadic
#193F7C #7C193F #3F7C19
tetradic
#193F7C #7C1971 #7C5619 #197C25
square
#193F7C #7C1971 #7C5619 #197C25
split-complementary
#193F7C #7C2519 #717C19
monochromatic
#050D19 #0F2549 #193F7C #2359AF #3875D7

Accessibility & contrast

On white

10.28
#193F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #193F7C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193F7C#FFFFFF#000000##FFFFFF
##193F7C1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#013C7B
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #193f7c;
/* rgb */ color: rgb(25, 63, 124);
/* oklch */ color: oklch(37.7% 0.112 259.6);
Tailwind
colors: {
  custom: {
    50: '#6673a2',
    500: '#193f7c',
    950: '#000000',
  },
}
SCSS
$custom: #193f7c;
$custom-light: #6673a2;
$custom-dark: #000000;
JSON
{
  "hex": "#193f7c",
  "rgb": {
    "r": 25,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 216.97,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.11246,
    "h": 259.6
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#193F7C
secondary
#B08540
accent
#A83EE9
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #193F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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