#19227E#19227E

#19227E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.152 H 270.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#19227E
RGBrgb(25, 34, 126)
HSLhsl(235, 67%, 30%)
HSVhsv(235, 80%, 49%)
CMYKcmyk(80.2%, 73%, 0%, 50.6%)
CIE-LABlab(19.46, 31.16, -52.62)
CIE-LCHlch(19.46, 61.16, 300.64°)
OKLaboklab(31.85% 0.0002 -0.1524)
OKLCHoklch(31.85% 0.152 270.1)
XYZxyz(4.7375, 2.8566, 20.0363)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19227E #7E7519
analogous
#19557E #19227E #42197E
triadic
#19227E #7E1922 #227E19
tetradic
#19227E #7E1955 #7E7519 #197E42
square
#19227E #7E1955 #7E7519 #197E42
split-complementary
#19227E #7E4219 #557E19
monochromatic
#05071A #0F144B #19227E #2330B1 #3A48D8

Accessibility & contrast

On white

13.36
#19227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#19227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19227E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19227E#FFFFFF#000000##FFFFFF
##19227E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #19227e;
/* rgb */ color: rgb(25, 34, 126);
/* oklch */ color: oklch(31.9% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#695da4',
    500: '#19227e',
    950: '#000000',
  },
}
SCSS
$custom: #19227e;
$custom-light: #695da4;
$custom-dark: #000000;
JSON
{
  "hex": "#19227e",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 234.653,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3185,
    "c": 0.15237,
    "h": 270.1
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#19227E
secondary
#B2A841
accent
#DA3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19227E

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

Preview Lab → · Contrast checker → · Palette generator →

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