#193871#193871

#193871 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.105 H 261.3°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#193871
RGBrgb(25, 56, 113)
HSLhsl(219, 64%, 27%)
HSVhsv(219, 78%, 44%)
CMYKcmyk(77.9%, 50.4%, 0%, 55.7%)
CIE-LABlab(24.41, 10.58, -36.27)
CIE-LCHlch(24.41, 37.78, 286.26°)
OKLaboklab(35.18% -0.0159 -0.1041)
OKLCHoklch(35.18% 0.105 261.3)
XYZxyz(4.7946, 4.2267, 16.1827)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193871 #715219
analogous
#196471 #193871 #261971
triadic
#193871 #711938 #387119
tetradic
#193871 #711964 #715219 #197126
square
#193871 #711964 #715219 #197126
split-complementary
#193871 #712619 #647119
monochromatic
#060C19 #0E1F3F #193871 #2451A3 #336BD2

Accessibility & contrast

On white

11.38
#193871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#193871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193871
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193871#FFFFFF#000000##FFFFFF
##1938711.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #193871;
/* rgb */ color: rgb(25, 56, 113);
/* oklch */ color: oklch(35.2% 0.105 261.3);
Tailwind
colors: {
  custom: {
    50: '#636e9a',
    500: '#193871',
    950: '#000000',
  },
}
SCSS
$custom: #193871;
$custom-light: #636e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#193871",
  "rgb": {
    "r": 25,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 218.864,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35182,
    "c": 0.10535,
    "h": 261.3
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#193871
secondary
#A68240
accent
#AC41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #193871

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

Preview Lab → · Contrast checker → · Palette generator →

#193871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva