#19227D#19227D

#19227D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.151 H 270.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#19227D
RGBrgb(25, 34, 125)
HSLhsl(235, 67%, 29%)
HSVhsv(235, 80%, 49%)
CMYKcmyk(80%, 72.8%, 0%, 51%)
CIE-LABlab(19.35, 30.79, -52.16)
CIE-LCHlch(19.35, 60.57, 300.55°)
OKLaboklab(31.74% 0.0003 -0.151)
OKLCHoklch(31.74% 0.151 270.1)
XYZxyz(4.6733, 2.8309, 19.6982)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19227D #7D7419
analogous
#19547D #19227D #42197D
triadic
#19227D #7D1922 #227D19
tetradic
#19227D #7D1954 #7D7419 #197D42
square
#19227D #7D1954 #7D7419 #197D42
split-complementary
#19227D #7D4219 #547D19
monochromatic
#05071A #0F144A #19227D #2330B0 #3947D7

Accessibility & contrast

On white

13.41
#19227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19227D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19227D#FFFFFF#000000##FFFFFF
##19227D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #19227d;
/* rgb */ color: rgb(25, 34, 125);
/* oklch */ color: oklch(31.7% 0.151 270.1);
Tailwind
colors: {
  custom: {
    50: '#685da4',
    500: '#19227d',
    950: '#000000',
  },
}
SCSS
$custom: #19227d;
$custom-light: #685da4;
$custom-dark: #000000;
JSON
{
  "hex": "#19227d",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 234.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31741,
    "c": 0.15103,
    "h": 270.1
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19227D

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

Preview Lab → · Contrast checker → · Palette generator →

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