#192872#192872

#192872 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.128 H 268.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#192872
RGBrgb(25, 40, 114)
HSLhsl(230, 64%, 27%)
HSVhsv(230, 78%, 45%)
CMYKcmyk(78.1%, 64.9%, 0%, 55.3%)
CIE-LABlab(19.80, 22.42, -44.40)
CIE-LCHlch(19.80, 49.73, 296.79°)
OKLaboklab(31.73% -0.0025 -0.1283)
OKLCHoklch(31.73% 0.128 268.9)
XYZxyz(4.1959, 2.9387, 16.2624)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192872 #726319
analogous
#195472 #192872 #371972
triadic
#192872 #721928 #287219
tetradic
#192872 #721954 #726319 #197237
square
#192872 #721954 #726319 #197237
split-complementary
#192872 #723719 #547219
monochromatic
#060919 #0E1640 #192872 #243AA4 #334ED2

Accessibility & contrast

On white

13.23
#192872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#192872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192872
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192872#FFFFFF#000000##FFFFFF
##1928721.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #192872;
/* rgb */ color: rgb(25, 40, 114);
/* oklch */ color: oklch(31.7% 0.128 268.9);
Tailwind
colors: {
  custom: {
    50: '#65619b',
    500: '#192872',
    950: '#000000',
  },
}
SCSS
$custom: #192872;
$custom-light: #65619b;
$custom-dark: #000000;
JSON
{
  "hex": "#192872",
  "rgb": {
    "r": 25,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 229.888,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31732,
    "c": 0.12831,
    "h": 268.9
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#192872
secondary
#A79640
accent
#CB41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #192872

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

Preview Lab → · Contrast checker → · Palette generator →

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