#192857#192857

#192857 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.087 H 267.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#192857
RGBrgb(25, 40, 87)
HSLhsl(225, 55%, 22%)
HSVhsv(225, 71%, 34%)
CMYKcmyk(71.3%, 54%, 0%, 65.9%)
CIE-LABlab(17.52, 11.40, -30.38)
CIE-LCHlch(17.52, 32.45, 290.57°)
OKLaboklab(29.31% -0.0038 -0.0871)
OKLCHoklch(29.31% 0.087 267.5)
XYZxyz(2.8794, 2.4121, 9.3288)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192857 #574819
analogous
#194757 #192857 #291957
triadic
#192857 #571928 #285719
tetradic
#192857 #571947 #574819 #195729
square
#192857 #571947 #574819 #195729
split-complementary
#192857 #572919 #475719
monochromatic
#070B18 #0B1227 #192857 #273E87 #3454B6

Accessibility & contrast

On white

14.17
#192857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#192857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192857
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192857#FFFFFF#000000##FFFFFF
##1928571.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2E59
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #192857;
/* rgb */ color: rgb(25, 40, 87);
/* oklch */ color: oklch(29.3% 0.087 267.5);
Tailwind
colors: {
  custom: {
    50: '#5e6187',
    500: '#192857',
    950: '#000000',
  },
}
SCSS
$custom: #192857;
$custom-light: #5e6187;
$custom-dark: #000000;
JSON
{
  "hex": "#192857",
  "rgb": {
    "r": 25,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 225.484,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29307,
    "c": 0.08719,
    "h": 267.5
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#192857
secondary
#8D7A3E
accent
#BA49DF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #192857

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

Preview Lab → · Contrast checker → · Palette generator →

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