#19226C#19226C

#19226C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.127 H 270.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#19226C
RGBrgb(25, 34, 108)
HSLhsl(233, 62%, 26%)
HSVhsv(233, 77%, 42%)
CMYKcmyk(76.9%, 68.5%, 0%, 57.6%)
CIE-LABlab(17.61, 24.25, -44.09)
CIE-LCHlch(17.61, 50.31, 298.81°)
OKLaboklab(29.95% 0.002 -0.1274)
OKLCHoklch(29.95% 0.127 270.9)
XYZxyz(3.6788, 2.4331, 14.4602)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19226C #6C6319
analogous
#194B6C #19226C #39196C
triadic
#19226C #6C1922 #226C19
tetradic
#19226C #6C194B #6C6319 #196C39
square
#19226C #6C194B #6C6319 #196C39
split-complementary
#19226C #6C3919 #4B6C19
monochromatic
#060819 #0D123A #19226C #25329E #3041CF

Accessibility & contrast

On white

14.13
#19226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#19226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19226C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19226C#FFFFFF#000000##FFFFFF
##19226C1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #19226c;
/* rgb */ color: rgb(25, 34, 108);
/* oklch */ color: oklch(29.9% 0.127 270.9);
Tailwind
colors: {
  custom: {
    50: '#645d97',
    500: '#19226c',
    950: '#000000',
  },
}
SCSS
$custom: #19226c;
$custom-light: #645d97;
$custom-dark: #000000;
JSON
{
  "hex": "#19226c",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 233.494,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2995,
    "c": 0.12746,
    "h": 270.9
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#19226C
secondary
#A1973F
accent
#D442E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #19226C

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

Preview Lab → · Contrast checker → · Palette generator →

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