#19315E#19315E

#19315E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.086 H 261.7°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#19315E
RGBrgb(25, 49, 94)
HSLhsl(219, 58%, 23%)
HSVhsv(219, 73%, 37%)
CMYKcmyk(73.4%, 47.9%, 0%, 63.1%)
CIE-LABlab(20.87, 7.72, -29.64)
CIE-LCHlch(20.87, 30.63, 284.60°)
OKLaboklab(32.04% -0.0124 -0.0848)
OKLCHoklch(32.04% 0.086 261.7)
XYZxyz(3.5189, 3.2111, 11.0219)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19315E #5E4619
analogous
#19535E #19315E #23195E
triadic
#19315E #5E1931 #315E19
tetradic
#19315E #5E1953 #5E4619 #195E23
square
#19315E #5E1953 #5E4619 #195E23
split-complementary
#19315E #5E2319 #535E19
monochromatic
#060D18 #0C182E #19315E #264A8E #3363BF

Accessibility & contrast

On white

12.79
#19315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#19315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19315E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19315E#FFFFFF#000000##FFFFFF
##19315E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3660
Deuteranopia (green-blind)
#0E2F5D
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #19315e;
/* rgb */ color: rgb(25, 49, 94);
/* oklch */ color: oklch(32.0% 0.086 261.7);
Tailwind
colors: {
  custom: {
    50: '#5f688c',
    500: '#19315e',
    950: '#000000',
  },
}
SCSS
$custom: #19315e;
$custom-light: #5f688c;
$custom-dark: #000000;
JSON
{
  "hex": "#19315e",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 219.13,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32035,
    "c": 0.08567,
    "h": 261.7
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#19315E
secondary
#94763F
accent
#AB47E1
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #19315E

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

Preview Lab → · Contrast checker → · Palette generator →

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