#192771#192771

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

Color values

HEX#192771
RGBrgb(25, 39, 113)
HSLhsl(230, 64%, 27%)
HSVhsv(230, 78%, 44%)
CMYKcmyk(77.9%, 65.5%, 0%, 55.7%)
CIE-LABlab(19.43, 22.72, -44.35)
CIE-LCHlch(19.43, 49.83, 297.13°)
OKLaboklab(31.43% -0.0018 -0.1282)
OKLCHoklch(31.43% 0.128 269.2)
XYZxyz(4.1060, 2.8495, 15.9532)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192771 #716319
analogous
#195371 #192771 #371971
triadic
#192771 #711927 #277119
tetradic
#192771 #711953 #716319 #197137
square
#192771 #711953 #716319 #197137
split-complementary
#192771 #713719 #537119
monochromatic
#060919 #0E163F #192771 #2438A3 #334CD2

Accessibility & contrast

On white

13.38
#192771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#192771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192771
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192771#FFFFFF#000000##FFFFFF
##1927711.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #192771;
/* rgb */ color: rgb(25, 39, 113);
/* oklch */ color: oklch(31.4% 0.128 269.2);
Tailwind
colors: {
  custom: {
    50: '#65619b',
    500: '#192771',
    950: '#000000',
  },
}
SCSS
$custom: #192771;
$custom-light: #65619b;
$custom-dark: #000000;
JSON
{
  "hex": "#192771",
  "rgb": {
    "r": 25,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 230.455,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31433,
    "c": 0.12818,
    "h": 269.2
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#192771
secondary
#A69640
accent
#CC41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #192771

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

Preview Lab → · Contrast checker → · Palette generator →

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