#193874#193874

#193874 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.110 H 261.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#193874
RGBrgb(25, 56, 116)
HSLhsl(220, 65%, 28%)
HSVhsv(220, 78%, 45%)
CMYKcmyk(78.4%, 51.7%, 0%, 54.5%)
CIE-LABlab(24.62, 11.82, -37.83)
CIE-LCHlch(24.62, 39.64, 287.35°)
OKLaboklab(35.42% -0.0154 -0.1087)
OKLCHoklch(35.42% 0.11 261.9)
XYZxyz(4.9663, 4.2954, 17.0870)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193874 #745519
analogous
#196674 #193874 #271974
triadic
#193874 #741938 #387419
tetradic
#193874 #741966 #745519 #197427
square
#193874 #741966 #745519 #197427
split-complementary
#193874 #742719 #667419
monochromatic
#050C19 #0E2042 #193874 #2450A6 #346AD3

Accessibility & contrast

On white

11.30
#193874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#193874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193874
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193874#FFFFFF#000000##FFFFFF
##1938741.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #193874;
/* rgb */ color: rgb(25, 56, 116);
/* oklch */ color: oklch(35.4% 0.110 261.9);
Tailwind
colors: {
  custom: {
    50: '#646e9c',
    500: '#193874',
    950: '#000000',
  },
}
SCSS
$custom: #193874;
$custom-light: #646e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#193874",
  "rgb": {
    "r": 25,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 219.56,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.10983,
    "h": 261.9
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#193874
secondary
#A98540
accent
#AF40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #193874

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

Preview Lab → · Contrast checker → · Palette generator →

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