#19277B#19277B

#19277B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.142 H 269.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#19277B
RGBrgb(25, 39, 123)
HSLhsl(231, 66%, 29%)
HSVhsv(231, 80%, 48%)
CMYKcmyk(79.7%, 68.3%, 0%, 51.8%)
CIE-LABlab(20.39, 26.67, -49.18)
CIE-LCHlch(20.39, 55.95, 298.47°)
OKLaboklab(32.43% -0.0023 -0.1423)
OKLCHoklch(32.43% 0.142 269.1)
XYZxyz(4.7003, 3.0873, 19.0832)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19277B #7B6D19
analogous
#19587B #19277B #3C197B
triadic
#19277B #7B1927 #277B19
tetradic
#19277B #7B1958 #7B6D19 #197B3C
square
#19277B #7B1958 #7B6D19 #197B3C
split-complementary
#19277B #7B3C19 #587B19
monochromatic
#050819 #0F1748 #19277B #2337AE #384FD7

Accessibility & contrast

On white

12.98
#19277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#19277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19277B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19277B#FFFFFF#000000##FFFFFF
##19277B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #19277b;
/* rgb */ color: rgb(25, 39, 123);
/* oklch */ color: oklch(32.4% 0.142 269.1);
Tailwind
colors: {
  custom: {
    50: '#6761a2',
    500: '#19277b',
    950: '#000000',
  },
}
SCSS
$custom: #19277b;
$custom-light: #6761a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19277b",
  "rgb": {
    "r": 25,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 231.429,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32432,
    "c": 0.14234,
    "h": 269.1
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#19277B
secondary
#AFA040
accent
#D13FE9
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #19277B

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

Preview Lab → · Contrast checker → · Palette generator →

#19277B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva