#192172#192172

#192172 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.137 H 270.9°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#192172
RGBrgb(25, 33, 114)
HSLhsl(235, 64%, 27%)
HSVhsv(235, 78%, 45%)
CMYKcmyk(78.1%, 71.1%, 0%, 55.3%)
CIE-LABlab(17.96, 27.27, -47.41)
CIE-LCHlch(17.96, 54.69, 299.91°)
OKLaboklab(30.39% 0.0022 -0.1372)
OKLCHoklch(30.39% 0.137 270.9)
XYZxyz(3.9810, 2.5089, 16.1908)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192172 #726A19
analogous
#194D72 #192172 #3E1972
triadic
#192172 #721921 #217219
tetradic
#192172 #72194D #726A19 #19723E
square
#192172 #72194D #726A19 #19723E
split-complementary
#192172 #723E19 #4D7219
monochromatic
#060719 #0E1240 #192172 #2430A4 #3341D2

Accessibility & contrast

On white

13.98
#192172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#192172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192172
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192172#FFFFFF#000000##FFFFFF
##1921721.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #192172;
/* rgb */ color: rgb(25, 33, 114);
/* oklch */ color: oklch(30.4% 0.137 270.9);
Tailwind
colors: {
  custom: {
    50: '#665c9b',
    500: '#192172',
    950: '#000000',
  },
}
SCSS
$custom: #192172;
$custom-light: #665c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#192172",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 234.607,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30385,
    "c": 0.13718,
    "h": 270.9
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#192172
secondary
#A79E40
accent
#D841E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #192172

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

Preview Lab → · Contrast checker → · Palette generator →

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