#192157#192157

#192157 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.097 H 272.1°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#192157
RGBrgb(25, 33, 87)
HSLhsl(232, 55%, 22%)
HSVhsv(232, 71%, 34%)
CMYKcmyk(71.3%, 62.1%, 0%, 65.9%)
CIE-LABlab(15.39, 16.57, -33.82)
CIE-LCHlch(15.39, 37.66, 296.11°)
OKLaboklab(27.71% 0.0035 -0.0973)
OKLCHoklch(27.71% 0.097 272.1)
XYZxyz(2.6645, 1.9823, 9.2572)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192157 #574F19
analogous
#194057 #192157 #301957
triadic
#192157 #571921 #215719
tetradic
#192157 #571940 #574F19 #195730
square
#192157 #571940 #574F19 #195730
split-complementary
#192157 #573019 #405719
monochromatic
#070918 #0B0F27 #192157 #273387 #3445B6

Accessibility & contrast

On white

15.04
#192157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#192157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192157
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192157#FFFFFF#000000##FFFFFF
##1921571.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #192157;
/* rgb */ color: rgb(25, 33, 87);
/* oklch */ color: oklch(27.7% 0.097 272.1);
Tailwind
colors: {
  custom: {
    50: '#5e5c87',
    500: '#192157',
    950: '#000000',
  },
}
SCSS
$custom: #192157;
$custom-light: #5e5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#192157",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 232.258,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27708,
    "c": 0.09738,
    "h": 272.1
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#192157
secondary
#8D833E
accent
#CB49DF
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #192157

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

Preview Lab → · Contrast checker → · Palette generator →

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