#192786#192786

#192786 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.157 H 268.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#192786
RGBrgb(25, 39, 134)
HSLhsl(232, 69%, 31%)
HSVhsv(232, 81%, 53%)
CMYKcmyk(81.3%, 70.9%, 0%, 47.5%)
CIE-LABlab(21.50, 30.91, -54.31)
CIE-LCHlch(21.50, 62.49, 299.65°)
OKLaboklab(33.58% -0.0032 -0.1573)
OKLCHoklch(33.58% 0.157 268.8)
XYZxyz(5.4280, 3.3783, 22.9156)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192786 #867819
analogous
#195D86 #192786 #411986
triadic
#192786 #861927 #278619
tetradic
#192786 #86195D #867819 #198641
square
#192786 #86195D #867819 #198641
split-complementary
#192786 #864119 #5D8619
monochromatic
#06091F #0F1852 #192786 #2336BA #3E52DB

Accessibility & contrast

On white

12.53
#192786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#192786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192786
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192786#FFFFFF#000000##FFFFFF
##1927861.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #192786;
/* rgb */ color: rgb(25, 39, 134);
/* oklch */ color: oklch(33.6% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#6a61aa',
    500: '#192786',
    950: '#000000',
  },
}
SCSS
$custom: #192786;
$custom-light: #6a61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#192786",
  "rgb": {
    "r": 25,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 232.294,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.15732,
    "h": 268.8
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#192786
secondary
#BAAA41
accent
#D53CEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #192786

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

Preview Lab → · Contrast checker → · Palette generator →

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