#19227B#19227B

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

Color values

HEX#19227B
RGBrgb(25, 34, 123)
HSLhsl(234, 66%, 29%)
HSVhsv(234, 80%, 48%)
CMYKcmyk(79.7%, 72.4%, 0%, 51.8%)
CIE-LABlab(19.14, 30.04, -51.24)
CIE-LCHlch(19.14, 59.39, 300.38°)
OKLaboklab(31.53% 0.0006 -0.1483)
OKLCHoklch(31.53% 0.148 270.2)
XYZxyz(4.5469, 2.7803, 19.0321)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19227B #7B7219
analogous
#19537B #19227B #41197B
triadic
#19227B #7B1922 #227B19
tetradic
#19227B #7B1953 #7B7219 #197B41
square
#19227B #7B1953 #7B7219 #197B41
split-complementary
#19227B #7B4119 #537B19
monochromatic
#050719 #0F1448 #19227B #2330AE #3846D7

Accessibility & contrast

On white

13.49
#19227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19227B
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19227B#FFFFFF#000000##FFFFFF
##19227B1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19227b;
/* rgb */ color: rgb(25, 34, 123);
/* oklch */ color: oklch(31.5% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#685da2',
    500: '#19227b',
    950: '#000000',
  },
}
SCSS
$custom: #19227b;
$custom-light: #685da2;
$custom-dark: #000000;
JSON
{
  "hex": "#19227b",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 234.49,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31525,
    "c": 0.14833,
    "h": 270.2
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#19227B
secondary
#AFA540
accent
#D93FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19227B

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

Preview Lab → · Contrast checker → · Palette generator →

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