#193F7B#193F7B

#193F7B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.111 H 259.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#193F7B
RGBrgb(25, 63, 123)
HSLhsl(217, 66%, 29%)
HSVhsv(217, 80%, 48%)
CMYKcmyk(79.7%, 48.8%, 0%, 51.8%)
CIE-LABlab(27.27, 9.79, -38.00)
CIE-LCHlch(27.27, 39.24, 284.45°)
OKLaboklab(37.61% -0.0205 -0.1091)
OKLCHoklch(37.61% 0.111 259.3)
XYZxyz(5.7523, 5.1911, 19.4339)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193F7B #7B5519
analogous
#19707B #193F7B #24197B
triadic
#193F7B #7B193F #3F7B19
tetradic
#193F7B #7B1970 #7B5519 #197B24
square
#193F7B #7B1970 #7B5519 #197B24
split-complementary
#193F7B #7B2419 #707B19
monochromatic
#050D19 #0F2548 #193F7B #2359AE #3875D7

Accessibility & contrast

On white

10.30
#193F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #193F7B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193F7B#FFFFFF#000000##FFFFFF
##193F7B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#043C7A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #193f7b;
/* rgb */ color: rgb(25, 63, 123);
/* oklch */ color: oklch(37.6% 0.111 259.3);
Tailwind
colors: {
  custom: {
    50: '#6673a2',
    500: '#193f7b',
    950: '#000000',
  },
}
SCSS
$custom: #193f7b;
$custom-light: #6673a2;
$custom-dark: #000000;
JSON
{
  "hex": "#193f7b",
  "rgb": {
    "r": 25,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 216.735,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37609,
    "c": 0.111,
    "h": 259.3
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#193F7B
secondary
#AF8440
accent
#A73FE9
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #193F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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