#192257#192257

#192257 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.096 H 271.5°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#192257
RGBrgb(25, 34, 87)
HSLhsl(231, 55%, 22%)
HSVhsv(231, 71%, 34%)
CMYKcmyk(71.3%, 60.9%, 0%, 65.9%)
CIE-LABlab(15.69, 15.84, -33.34)
CIE-LCHlch(15.69, 36.91, 295.41°)
OKLaboklab(27.93% 0.0025 -0.0959)
OKLCHoklch(27.93% 0.096 271.5)
XYZxyz(2.6927, 2.0386, 9.2666)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192257 #574E19
analogous
#194157 #192257 #2F1957
triadic
#192257 #571922 #225719
tetradic
#192257 #571941 #574E19 #19572F
square
#192257 #571941 #574E19 #19572F
split-complementary
#192257 #572F19 #415719
monochromatic
#070918 #0B0F27 #192257 #273587 #3447B6

Accessibility & contrast

On white

14.92
#192257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#192257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192257
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192257#FFFFFF#000000##FFFFFF
##1922571.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #192257;
/* rgb */ color: rgb(25, 34, 87);
/* oklch */ color: oklch(27.9% 0.096 271.5);
Tailwind
colors: {
  custom: {
    50: '#5e5c87',
    500: '#192257',
    950: '#000000',
  },
}
SCSS
$custom: #192257;
$custom-light: #5e5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#192257",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 231.29,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27928,
    "c": 0.09593,
    "h": 271.5
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#192257
secondary
#8D823E
accent
#C949DF
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #192257

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

Preview Lab → · Contrast checker → · Palette generator →

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