#19125E#19125E

#19125E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.7% C 0.127 H 276.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#19125E
RGBrgb(25, 18, 94)
HSLhsl(246, 68%, 22%)
HSVhsv(246, 81%, 37%)
CMYKcmyk(73.4%, 80.9%, 0%, 63.1%)
CIE-LABlab(12.27, 29.52, -43.64)
CIE-LCHlch(12.27, 52.68, 304.08°)
OKLaboklab(25.65% 0.0148 -0.1261)
OKLCHoklch(25.65% 0.127 276.7)
XYZxyz(2.6369, 1.4472, 10.7279)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19125E #575E12
analogous
#12315E #19125E #3F125E
triadic
#19125E #5E1912 #125E19
tetradic
#19125E #5E1231 #575E12 #125E3F
square
#19125E #5E1231 #575E12 #125E3F
split-complementary
#19125E #5E3F12 #315E12
monochromatic
#07051A #0B082B #19125E #271C91 #3426C5

Accessibility & contrast

On white

16.29
#19125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#19125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19125E
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19125E#FFFFFF#000000##FFFFFF
##19125E1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #19125e;
/* rgb */ color: rgb(25, 18, 94);
/* oklch */ color: oklch(25.7% 0.127 276.7);
Tailwind
colors: {
  custom: {
    50: '#62518d',
    500: '#19125e',
    950: '#000000',
  },
}
SCSS
$custom: #19125e;
$custom-light: #62518d;
$custom-dark: #000000;
JSON
{
  "hex": "#19125e",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 245.526,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25654,
    "c": 0.12696,
    "h": 276.7
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#19125E
secondary
#8D9635
accent
#EB3DDB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #19125E

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

Preview Lab → · Contrast checker → · Palette generator →

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