#19175F#19175F

#19175F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.123 H 275.3°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#19175F
RGBrgb(25, 23, 95)
HSLhsl(242, 61%, 23%)
HSVhsv(242, 76%, 37%)
CMYKcmyk(73.7%, 75.8%, 0%, 62.7%)
CIE-LABlab(13.50, 26.74, -42.27)
CIE-LCHlch(13.50, 50.01, 302.32°)
OKLaboklab(26.57% 0.0113 -0.1221)
OKLCHoklch(26.57% 0.123 275.3)
XYZxyz(2.7722, 1.6454, 10.9958)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19175F #5D5F17
analogous
#17395F #19175F #3D175F
triadic
#19175F #5F1917 #175F19
tetradic
#19175F #5F1739 #5D5F17 #175F3D
square
#19175F #5F1739 #5D5F17 #175F3D
split-complementary
#19175F #5F3D17 #395F17
monochromatic
#060619 #0C0B2E #19175F #262390 #332FC2

Accessibility & contrast

On white

15.80
#19175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19175F
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19175F#FFFFFF#000000##FFFFFF
##19175F1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #19175f;
/* rgb */ color: rgb(25, 23, 95);
/* oklch */ color: oklch(26.6% 0.123 275.3);
Tailwind
colors: {
  custom: {
    50: '#61558d',
    500: '#19175f',
    950: '#000000',
  },
}
SCSS
$custom: #19175f;
$custom-light: #61558d;
$custom-dark: #000000;
JSON
{
  "hex": "#19175f",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 241.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26566,
    "c": 0.12267,
    "h": 275.3
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#19175F
secondary
#93963C
accent
#E444E0
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #19175F

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

Preview Lab → · Contrast checker → · Palette generator →

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