#193374#193374

#193374 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.117 H 264.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#193374
RGBrgb(25, 51, 116)
HSLhsl(223, 65%, 28%)
HSVhsv(223, 78%, 45%)
CMYKcmyk(78.4%, 56%, 0%, 54.5%)
CIE-LABlab(23.12, 15.38, -40.27)
CIE-LCHlch(23.12, 43.11, 290.90°)
OKLaboklab(34.27% -0.0111 -0.116)
OKLCHoklch(34.27% 0.117 264.5)
XYZxyz(4.7360, 3.8348, 17.0102)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193374 #745A19
analogous
#196174 #193374 #2C1974
triadic
#193374 #741933 #337419
tetradic
#193374 #741961 #745A19 #19742C
square
#193374 #741961 #745A19 #19742C
split-complementary
#193374 #742C19 #617419
monochromatic
#050B19 #0E1D42 #193374 #2449A6 #3462D3

Accessibility & contrast

On white

11.88
#193374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#193374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193374
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193374#FFFFFF#000000##FFFFFF
##1933741.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #193374;
/* rgb */ color: rgb(25, 51, 116);
/* oklch */ color: oklch(34.3% 0.117 264.5);
Tailwind
colors: {
  custom: {
    50: '#646a9d',
    500: '#193374',
    950: '#000000',
  },
}
SCSS
$custom: #193374;
$custom-light: #646a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#193374",
  "rgb": {
    "r": 25,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 222.857,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34271,
    "c": 0.11654,
    "h": 264.5
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#193374
secondary
#A98B40
accent
#B840E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #193374

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

Preview Lab → · Contrast checker → · Palette generator →

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