#19227C#19227C

#19227C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.150 H 270.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#19227C
RGBrgb(25, 34, 124)
HSLhsl(235, 66%, 29%)
HSVhsv(235, 80%, 49%)
CMYKcmyk(79.8%, 72.6%, 0%, 51.4%)
CIE-LABlab(19.25, 30.41, -51.70)
CIE-LCHlch(19.25, 59.98, 300.47°)
OKLaboklab(31.63% 0.0005 -0.1497)
OKLCHoklch(31.63% 0.15 270.2)
XYZxyz(4.6098, 2.8055, 19.3634)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19227C #7C7319
analogous
#19547C #19227C #41197C
triadic
#19227C #7C1922 #227C19
tetradic
#19227C #7C1954 #7C7319 #197C41
square
#19227C #7C1954 #7C7319 #197C41
split-complementary
#19227C #7C4119 #547C19
monochromatic
#050719 #0F1449 #19227C #2330AF #3847D7

Accessibility & contrast

On white

13.45
#19227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#19227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19227C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19227C#FFFFFF#000000##FFFFFF
##19227C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #19227c;
/* rgb */ color: rgb(25, 34, 124);
/* oklch */ color: oklch(31.6% 0.150 270.2);
Tailwind
colors: {
  custom: {
    50: '#685da3',
    500: '#19227c',
    950: '#000000',
  },
}
SCSS
$custom: #19227c;
$custom-light: #685da3;
$custom-dark: #000000;
JSON
{
  "hex": "#19227c",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 234.545,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31633,
    "c": 0.14968,
    "h": 270.2
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#19227C
secondary
#B0A640
accent
#DA3EE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19227C

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

Preview Lab → · Contrast checker → · Palette generator →

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