#19227A#19227A

#19227A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.147 H 270.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#19227A
RGBrgb(25, 34, 122)
HSLhsl(234, 66%, 29%)
HSVhsv(234, 80%, 48%)
CMYKcmyk(79.5%, 72.1%, 0%, 52.2%)
CIE-LABlab(19.04, 29.66, -50.77)
CIE-LCHlch(19.04, 58.80, 300.29°)
OKLaboklab(31.42% 0.0007 -0.147)
OKLCHoklch(31.42% 0.147 270.3)
XYZxyz(4.4846, 2.7554, 18.7041)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19227A #7A7119
analogous
#19537A #19227A #41197A
triadic
#19227A #7A1922 #227A19
tetradic
#19227A #7A1953 #7A7119 #197A41
square
#19227A #7A1953 #7A7119 #197A41
split-complementary
#19227A #7A4119 #537A19
monochromatic
#050719 #0F1447 #19227A #2330AD #3746D6

Accessibility & contrast

On white

13.54
#19227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#19227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19227A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19227A#FFFFFF#000000##FFFFFF
##19227A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19227a;
/* rgb */ color: rgb(25, 34, 122);
/* oklch */ color: oklch(31.4% 0.147 270.3);
Tailwind
colors: {
  custom: {
    50: '#685da1',
    500: '#19227a',
    950: '#000000',
  },
}
SCSS
$custom: #19227a;
$custom-light: #685da1;
$custom-dark: #000000;
JSON
{
  "hex": "#19227a",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 234.433,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31417,
    "c": 0.14698,
    "h": 270.3
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#19227A
secondary
#AFA440
accent
#D93FE9
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19227A

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

Preview Lab → · Contrast checker → · Palette generator →

#19227A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva