#19227F#19227F

#19227F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.154 H 270.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#19227F
RGBrgb(25, 34, 127)
HSLhsl(235, 67%, 30%)
HSVhsv(235, 80%, 50%)
CMYKcmyk(80.3%, 73.2%, 0%, 50.2%)
CIE-LABlab(19.57, 31.54, -53.08)
CIE-LCHlch(19.57, 61.74, 300.72°)
OKLaboklab(31.96% 0.0001 -0.1537)
OKLCHoklch(31.96% 0.154 270)
XYZxyz(4.8024, 2.8825, 20.3778)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19227F #7F7619
analogous
#19557F #19227F #43197F
triadic
#19227F #7F1922 #227F19
tetradic
#19227F #7F1955 #7F7619 #197F43
square
#19227F #7F1955 #7F7619 #197F43
split-complementary
#19227F #7F4319 #557F19
monochromatic
#05071A #0F144C #19227F #2330B2 #3A48D8

Accessibility & contrast

On white

13.32
#19227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#19227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19227F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19227F#FFFFFF#000000##FFFFFF
##19227F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #19227f;
/* rgb */ color: rgb(25, 34, 127);
/* oklch */ color: oklch(32.0% 0.154 270.0);
Tailwind
colors: {
  custom: {
    50: '#695da5',
    500: '#19227f',
    950: '#000000',
  },
}
SCSS
$custom: #19227f;
$custom-light: #695da5;
$custom-dark: #000000;
JSON
{
  "hex": "#19227f",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 234.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31959,
    "c": 0.1537,
    "h": 270
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#19227F
secondary
#B3A941
accent
#DB3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19227F

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

Preview Lab → · Contrast checker → · Palette generator →

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