#19277F#19277F

#19277F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.148 H 269.0°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#19277F
RGBrgb(25, 39, 127)
HSLhsl(232, 67%, 30%)
HSVhsv(232, 80%, 50%)
CMYKcmyk(80.3%, 69.3%, 0%, 50.2%)
CIE-LABlab(20.79, 28.23, -51.07)
CIE-LCHlch(20.79, 58.35, 298.93°)
OKLaboklab(32.84% -0.0026 -0.1478)
OKLCHoklch(32.84% 0.148 269)
XYZxyz(4.9559, 3.1895, 20.4290)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19277F #7F7119
analogous
#195A7F #19277F #3E197F
triadic
#19277F #7F1927 #277F19
tetradic
#19277F #7F195A #7F7119 #197F3E
square
#19277F #7F195A #7F7119 #197F3E
split-complementary
#19277F #7F3E19 #5A7F19
monochromatic
#05081A #0F174C #19277F #2337B2 #3A50D8

Accessibility & contrast

On white

12.82
#19277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#19277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19277F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19277F#FFFFFF#000000##FFFFFF
##19277F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #19277f;
/* rgb */ color: rgb(25, 39, 127);
/* oklch */ color: oklch(32.8% 0.148 269.0);
Tailwind
colors: {
  custom: {
    50: '#6961a5',
    500: '#19277f',
    950: '#000000',
  },
}
SCSS
$custom: #19277f;
$custom-light: #6961a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19277f",
  "rgb": {
    "r": 25,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 231.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32843,
    "c": 0.14786,
    "h": 269
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#19277F
secondary
#B3A341
accent
#D23EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #19277F

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

Preview Lab → · Contrast checker → · Palette generator →

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