#192154#192154

#192154 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.093 H 272.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#192154
RGBrgb(25, 33, 84)
HSLhsl(232, 54%, 21%)
HSVhsv(232, 70%, 33%)
CMYKcmyk(70.2%, 60.7%, 0%, 67.1%)
CIE-LABlab(15.14, 15.36, -32.21)
CIE-LCHlch(15.14, 35.68, 295.49°)
OKLaboklab(27.44% 0.0034 -0.0926)
OKLCHoklch(27.44% 0.093 272.1)
XYZxyz(2.5445, 1.9343, 8.6250)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192154 #544C19
analogous
#193F54 #192154 #2F1954
triadic
#192154 #541921 #215419
tetradic
#192154 #54193F #544C19 #19542F
square
#192154 #54193F #544C19 #19542F
split-complementary
#192154 #542F19 #3F5419
monochromatic
#070918 #0B0E25 #192154 #273483 #3546B2

Accessibility & contrast

On white

15.14
#192154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#192154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192154
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192154#FFFFFF#000000##FFFFFF
##1921541.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #192154;
/* rgb */ color: rgb(25, 33, 84);
/* oklch */ color: oklch(27.4% 0.093 272.1);
Tailwind
colors: {
  custom: {
    50: '#5e5c85',
    500: '#192154',
    950: '#000000',
  },
}
SCSS
$custom: #192154;
$custom-light: #5e5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#192154",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 231.864,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27437,
    "c": 0.09264,
    "h": 272.1
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#192154
secondary
#8A803E
accent
#CA4ADD
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #192154

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

Preview Lab → · Contrast checker → · Palette generator →

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