#192874#192874

#192874 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.131 H 268.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#192874
RGBrgb(25, 40, 116)
HSLhsl(230, 65%, 28%)
HSVhsv(230, 78%, 45%)
CMYKcmyk(78.4%, 65.5%, 0%, 54.5%)
CIE-LABlab(19.98, 23.22, -45.38)
CIE-LCHlch(19.98, 50.97, 297.10°)
OKLaboklab(31.93% -0.0026 -0.1312)
OKLCHoklch(31.93% 0.131 268.9)
XYZxyz(4.3110, 2.9847, 16.8685)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192874 #746519
analogous
#195574 #192874 #381974
triadic
#192874 #741928 #287419
tetradic
#192874 #741955 #746519 #197438
square
#192874 #741955 #746519 #197438
split-complementary
#192874 #743819 #557419
monochromatic
#050919 #0E1742 #192874 #2439A6 #344ED3

Accessibility & contrast

On white

13.15
#192874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#192874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192874
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192874#FFFFFF#000000##FFFFFF
##1928741.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #192874;
/* rgb */ color: rgb(25, 40, 116);
/* oklch */ color: oklch(31.9% 0.131 268.9);
Tailwind
colors: {
  custom: {
    50: '#65619d',
    500: '#192874',
    950: '#000000',
  },
}
SCSS
$custom: #192874;
$custom-light: #65619d;
$custom-dark: #000000;
JSON
{
  "hex": "#192874",
  "rgb": {
    "r": 25,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 230.11,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31927,
    "c": 0.1312,
    "h": 268.9
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#192874
secondary
#A99840
accent
#CC40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #192874

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

Preview Lab → · Contrast checker → · Palette generator →

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