#19175E#19175E

#19175E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.121 H 275.4°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#19175E
RGBrgb(25, 23, 94)
HSLhsl(242, 61%, 23%)
HSVhsv(242, 76%, 37%)
CMYKcmyk(73.4%, 75.5%, 0%, 63.1%)
CIE-LABlab(13.40, 26.36, -41.78)
CIE-LCHlch(13.40, 49.40, 302.25°)
OKLaboklab(26.46% 0.0115 -0.1207)
OKLCHoklch(26.46% 0.121 275.4)
XYZxyz(2.7270, 1.6274, 10.7579)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19175E #5C5E17
analogous
#17385E #19175E #3C175E
triadic
#19175E #5E1917 #175E19
tetradic
#19175E #5E1738 #5C5E17 #175E3C
square
#19175E #5E1738 #5C5E17 #175E3C
split-complementary
#19175E #5E3C17 #385E17
monochromatic
#070619 #0C0B2D #19175E #26238F #332FC0

Accessibility & contrast

On white

15.84
#19175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#19175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19175E
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19175E#FFFFFF#000000##FFFFFF
##19175E1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #19175e;
/* rgb */ color: rgb(25, 23, 94);
/* oklch */ color: oklch(26.5% 0.121 275.4);
Tailwind
colors: {
  custom: {
    50: '#61558c',
    500: '#19175e',
    950: '#000000',
  },
}
SCSS
$custom: #19175e;
$custom-light: #61558c;
$custom-dark: #000000;
JSON
{
  "hex": "#19175e",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 241.69,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26456,
    "c": 0.12127,
    "h": 275.4
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#19175E
secondary
#92953C
accent
#E444DF
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #19175E

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

Preview Lab → · Contrast checker → · Palette generator →

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